Lines Matching refs:toss3
19 const toss3 = (...args)=>{throw new sqlite3.SQLite3Error(...args)}; function
57 toss3(
122 ? (n)=>toss3("The VFS for",n,"is only available in the main window thread.")
137 toss3("Invalid arguments for DB constructor.");
165 if(!pVfs) toss3("Internal error: cannot get VFS for new db handle.");
324 toss3("Do not call the Stmt constructor directly. Use DB.prepare().");
334 if(!db.pointer) toss3("DB has been closed.");
347 toss3("Column index",ndx,"is out of range.");
386 default: toss3("Invalid argument count for exec().");
390 toss3("Missing SQL argument or unsupported SQL value type.");
407 toss3("Invalid returnValue value:",opt.returnValue);
416 toss3("exec(): invalid rowMode for a resultRows array: must",
432 … return (undefined===rc) ? toss3("exec(): unknown result column:",this.colName) : rc;
440 toss3("Invalid rowMode:",opt.rowMode);
616 if(!pStmt) toss3("Cannot prepare empty SQL.");
765 return toss3("exec() requires an SQL string.");
955 toss3("Invalid arguments: missing function name.");
965 toss3("Ambiguous arguments: scalar or aggregate?");
970 toss3("Missing xFinal() callback for aggregate or window UDF.");
974 toss3("Missing xStep() callback for aggregate or window UDF.");
976 toss3("Missing function-type properties.");
980 toss3("xValue and xInverse are not permitted for non-window UDFs.");
984 toss3("xInverse must be provided if xValue is.");
988 toss3("xValue must be provided if xInverse is.");
994 toss3("Invalid value for pApp property. Must be a legal WASM pointer value.");
998 toss3("xDestroy property must be a function.");
1140 if(!stmt.pointer) toss3("Stmt has been closed.");
1171 return isSupportedBindType(v) || toss3("Unsupported bind() argument type:",typeof v);
1187 toss3("Invalid bind() parameter name: "+key);
1189 else if(n<1 || n>stmt.parameterCount) toss3("Bind index",key,"is out of range.");
1203 toss3("Operation is illegal when statement is locked:",currentOpName);
1217 f._tooBigInt = (v)=>toss3(
1293 toss3("Binding a value as a blob requires",
1319 toss3("Unsupported bind() argument type: "+(typeof val));
1442 default: toss3("Invalid bind() arguments.");
1451 toss3("This statement has no bindable parameters.");
1461 toss3("When binding an array, an index argument is not permitted.");
1470 toss3("When binding an object, an index argument is not permitted.");
1480 toss3("Should not reach this point.");
1502 toss3("Invalid value type for bindAsBlob()");
1605 toss3("Stmt.step() has not (recently) returned true.");
1643 toss3("Integer is out of range for JS integer range: "+rc);
1669 default: toss3("Don't know how to translate",
1672 toss3("Not reached.");
1744 set: ()=>toss3("The pointer property is read-only.")
1768 toss3("JsStorageDb db name must be one of 'session' or 'local'.");