pub enum RsqliteError {
}
Variants§
InvalidCString(NulError)
Can not convert the provided String into a CString
Abort
SQLITE_ABORT: An operation was aborted prior to completion
Auth
SQLITE_AUTH: An SQL statement being prepared is not authorized.
Busy
SQLITE_BUSY: The database file could not be written (or in some cases read).
CantOpen
SQLITE_CANTOPEN: SQLite was unable to open a file.
Constraint
SQLITE_CONSTRAINT: An SQL constraint violation occurred.
Corrupt
SQLITE_CORRUPT: The database file has been corrupted.
Error
SQLITE_ERROR: Sqlite generic error code.
Full
SQLITE_FULL: A write could not complete because the disk is full.
Internal
SQLITE_INTERNAL: An internal malfunction. you should never see this.
Interrupt
SQLITE_INTERRUPT: An operation was interrupted.
IOerr
SQLITE_IOERR: Operation did not finish because the OS reported an I/O error.
Locked
SQLITE_LOCKED: A write operation could not continue because of a conflict within the same database connection or a conflict with a different database connection that uses a shared cache.
Mismatch
SQLITE_MISMATCH: This error code indicates a datatype mismatch.
Misuse
SQLITE_MISUSE: SQLite interface was used in an undefined or unsupported way.
Nolfs
SQLITE_NOLFS: System does not support large files, or the database grew to be larger than what the filesystem can handle.
Nomem
SQLITE_NOMEM: SQLite was unable to allocate all the memory
it needed to complete the operation.
Notadb
SQLITE_NOTADB: The file being opened does not appear to be an SQLite database file.
Notfound
SQLITE_NOTFOUND: See https://sqlite.org/rescode.html
Perm
SQLITE_PERM: The requested access mode for a newly created database could not be provided.
Protocol
SQLITE_PROTOCOL: A problem with the file locking protocol used by SQLite.
Range
SQLITE_RANGE: The parameter number argument to one of the sqlite3_bind routines or the column number in one of the sqlite3_column routines is out of range.
Readonly
SQLITE_READONLY: An attempt was made to alter some data for which the current database connection does not have write permission.
Schema
SQLITE_SCHEMA: The database schema was changed by some other process in between the time that the statement was prepared and the time the statement was run.
Toobig
SQLITE_TOOBIG: A string or BLOB was too large.
Unknown(c_int)
Unknown SQLITE error, See https://sqlite.org/rescode.html