MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / ThrowDatabaseError

Method ThrowDatabaseError

src/objects/database.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void Database::ThrowDatabaseError(Napi::Env env) {
49 if (was_js_error) was_js_error = false;
50 else ThrowSqliteError(env, addon, db_handle);
51}
52
53void Database::ThrowSqliteError(Napi::Env env, Addon* addon, sqlite3* db_handle) {
54 assert(db_handle != NULL);

Callers 2

NODE_METHODFunction · 0.80
NODE_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected