Skip to main content

sqlite_error_code

Function sqlite_error_code 

Source
pub fn sqlite_error_code(error: &Error) -> Option<SqliteErrorCode>
Expand description

Return exact native SQLite result codes retained on a driver error.

Errors produced before SQLite is called (for example, SQL containing a NUL byte) and SQLModel lifecycle errors have no native result code and return None.