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

Method ThrowDatabaseError

src/objects/database.cpp:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Database::ThrowDatabaseError() {
55 if (was_js_error) was_js_error = false;
56 else ThrowSqliteError(addon, db_handle);
57}
58
59void Database::ThrowSqliteError(Addon* addon, sqlite3* db_handle) {
60 assert(db_handle != NULL);

Callers 2

NODE_METHODFunction · 0.80
NODE_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected