Function sqlite3_errmsg

Source
pub unsafe fn sqlite3_errmsg(db: *mut sqlite3) -> *const c_char
Expand description

If the most recent sqlite3_* API call associated with database connection db failed, then the sqlite3_errmsg(db) interface returns English- language text that describes the error.

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