sqlite_wasm_rs::c

Function sqlite3_extended_errcode

Source
pub unsafe fn sqlite3_extended_errcode(db: *mut sqlite3) -> c_int
Expand description

If the most recent sqlite3_* API call associated with database connection db failed, then the sqlite3_extended_errcode(db) interface returns the extended result code for that API call, even when extended result codes are disabled.

See https://www.sqlite.org/c3ref/errcode.html