Lines Matching refs:toss
119 const toss = function(...args){throw new Error(args.join(' '))}; function
345 toss("Maintenance required: not found:",k);
357 const opNdx = state.opIds[op] || toss("Invalid op ID:",op);
455 || toss("Maintenance required: this value type cannot be serialized.",v)
463 default: toss("Invalid type ID:",tid);
597 toss("Usage error: target object is-not-a StructType.");
606 toss("Argument mismatch. Native signature is:",sig);
629 toss("Member",name," is not a function pointer. Signature =",sigN);
1188 if("This is ä string."!==rc[0]) toss("String d13n error.");
1202 if(!rc) toss("xAccess() failed to detect file.");
1204 if(rc) toss('sync failed w/ rc',rc);
1206 if(rc) toss('truncate failed w/ rc',rc);
1209 if(rc) toss('xFileSize failed w/ rc',rc);
1212 if(rc) toss("xWrite() failed!");
1218 if("sanity"!==jRead) toss("Unexpected xRead() value.");
1230 if(rc) toss("Expecting 0 from xAccess(",dbFile,") after xDelete().");
1253 toss("sqlite3_vfs_register(OPFS) failed with rc",rc);
1256 toss("BUG: sqlite3_vfs_find() failed for just-installed OPFS VFS");