Enum libsqlite3_sys::ErrorCode [−][src]
#[non_exhaustive] pub enum ErrorCode {}Show 24 variants
InternalMalfunction, PermissionDenied, OperationAborted, DatabaseBusy, DatabaseLocked, OutOfMemory, ReadOnly, OperationInterrupted, SystemIoFailure, DatabaseCorrupt, NotFound, DiskFull, CannotOpen, FileLockingProtocolFailed, SchemaChanged, TooBig, ConstraintViolation, TypeMismatch, ApiMisuse, NoLargeFileSupport, AuthorizationForStatementDenied, ParameterOutOfRange, NotADatabase, Unknown,
Expand description
Error Codes
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Internal logic error in SQLite
Access permission denied
Callback routine requested an abort
The database file is locked
A table in the database is locked
A malloc() failed
Attempt to write a readonly database
Operation terminated by sqlite3_interrupt()
Some kind of disk I/O error occurred
The database disk image is malformed
Unknown opcode in sqlite3_file_control()
Insertion failed because database is full
Unable to open the database file
Database lock protocol error
The database schema changed
String or BLOB exceeds size limit
Abort due to constraint violation
Data type mismatch
Library used incorrectly
Uses OS features not supported on host
Authorization denied
2nd parameter to sqlite3_bind out of range
File opened that is not a database file
SQL error or missing database
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more