Lines Matching refs:toss
328 const toss = (...args)=>{throw new Error(args.join(' '))}; function
330 toss("initWorker1API() must be run from a Worker thread.");
333 const sqlite3 = this.sqlite3 || toss("Missing this.sqlite3 object.");
406 || (require ? toss("Unknown (or closed) DB ID:",id) : undefined);
413 return (db && db.pointer) ? db : toss("DB is not opened.");
449 toss("Throwing because of simulateError flag.");
472 if(rc) sqlite3.SQLite3Error.toss(rc);
510 toss("Invalid rowMode for 'exec': stmt mode",
513 toss("'exec' requires input SQL.");
593 toss: function(ev){
594 toss("Testing worker exception");
598 if(!sqlite3.opfs) toss("OPFS support is unavailable.");
613 toss("Unknown db worker message type:",ev.type);