Name
sqlite3_extended_errcode() — Get extended error code for last failed API call
Definition
int sqlite3_extended_errcode( sqlite3* db );
-
db A database connection.
- Returns
An extended error code.
Description
This function is similar to sqlite3_errcode(), except that it will always
return an extended error code, even if extended result codes are
not enabled.
If SQLite is being used in a threaded environment, this function
is subject to the same concerns as sqlite3_errcode().
If an API call returns SQLITE_MISUSE, it indicates an application
error. In that case, the result code may or may not be available
to sqlite3_extended_errcode().
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access