API reference › @evolu/sqlite-wasm › c-api › sqlite3_errmsg
function sqlite3_errmsg(
deps: SqliteWasmDep,
): (db: SqliteDbPtr) => 0 | CStringPtr;
Defined in: packages/sqlite-wasm/src/CApi.ts:1669
Returns the English message of the connection's most recent error, or NULL when none is available. SQLite owns the string, which the next call on the connection can overwrite or free.
Wasm type i(i). Signature ["sqlite3_errmsg", "string", "sqlite3*"] from
SQLite's table.