Struct rusqlite::SqliteError [] [src]

pub struct SqliteError {
    pub code: c_int,
    pub message: String,
}

Encompasses an error result from a call to the SQLite C API.

Fields

code

The error code returned by a SQLite C API call. See SQLite Result Codes for details.

message

The error message provided by sqlite3_errmsg, if possible, or a generic error message based on code otherwise.

Trait Implementations

impl Display for SqliteError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for SqliteError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for SqliteError

fn fmt(&self, __arg_0: &mut Formatter) -> Result