EC
errcodes.dev
HTTP
PostgreSQL
Linux
Python
Docker
21 languages Β· 7,377+ codes
errcodes.dev
/
SQLite
ποΈ
SQLite Result Codes
SQLite 3.52
105 codes
Result codes with Python & C fix examples
All severities
ERROR
SUCCESS
FATAL
WARNING
INFO
All tiers
Common
Notable
Critical
Showing
105
of
105
errors
Code
Message
Severity
Tier
SQLITE_ERROR
SQL logic error
ERROR
Common
β
SQLITE_BUSY
database is locked
ERROR
Notable
β
SQLITE_LOCKED
database table is locked
ERROR
Notable
β
SQLITE_READONLY
attempt to write a readonly database
ERROR
Common
β
SQLITE_IOERR
disk I/O error
ERROR
Critical
β
SQLITE_CORRUPT
database disk image is malformed
ERROR
Critical
β
SQLITE_FULL
database or disk is full
ERROR
Notable
β
SQLITE_CANTOPEN
unable to open database file
ERROR
Common
β
SQLITE_SCHEMA
database schema has changed
ERROR
Common
β
SQLITE_TOOBIG
string or blob too big
ERROR
Common
β
SQLITE_CONSTRAINT
constraint failed
ERROR
Common
β
SQLITE_CONSTRAINT_PRIMARYKEY
UNIQUE constraint failed (primary key)
ERROR
Common
β
SQLITE_CONSTRAINT_UNIQUE
UNIQUE constraint failed
ERROR
Common
β
SQLITE_CONSTRAINT_FOREIGNKEY
FOREIGN KEY constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_NOTNULL
NOT NULL constraint failed
ERROR
Common
β
SQLITE_CONSTRAINT_CHECK
CHECK constraint failed
ERROR
Common
β
SQLITE_BUSY_SNAPSHOT
cannot start a transaction within a transaction (WAL snapshot conflict)
ERROR
Notable
β
SQLITE_IOERR_WRITE
disk I/O error (write failure)
ERROR
Critical
β
SQLITE_CORRUPT_VTAB
database disk image is malformed (virtual table)
ERROR
Notable
β
SQLITE_CANTOPEN_NOTEMPDIR
unable to open a temporary database file for storing temporary tables
ERROR
Notable
β
SQLITE_READONLY_ROLLBACK
attempt to write a readonly database (hot journal present)
ERROR
Critical
β
SQLITE_MISMATCH
datatype mismatch
ERROR
Common
β
SQLITE_MISUSE
bad parameter or other API misuse
ERROR
Common
β
SQLITE_AUTH
not authorized
ERROR
Notable
β
SQLITE_NOTADB
file is not a database
ERROR
Common
β
SQLITE_OK
Successful result
SUCCESS
Common
β
SQLITE_INTERNAL
Internal logic error in SQLite
FATAL
Critical
β
SQLITE_PERM
Access permission denied
ERROR
Notable
β
SQLITE_ABORT
Callback routine requested an abort
WARNING
Notable
β
SQLITE_NOMEM
malloc() failed β out of memory
FATAL
Critical
β
SQLITE_INTERRUPT
Operation terminated by sqlite3_interrupt()
WARNING
Notable
β
SQLITE_NOTFOUND
Unknown opcode or table/row not found
ERROR
Notable
β
SQLITE_PROTOCOL
Database locking protocol error
ERROR
Notable
β
SQLITE_EMPTY
Internal use only (not used by SQLite)
INFO
Common
β
SQLITE_NOLFS
Large file support is disabled
ERROR
Notable
β
SQLITE_FORMAT
Auxiliary database format error (not used)
INFO
Common
β
SQLITE_RANGE
Bind or column index out of range
ERROR
Notable
β
SQLITE_NOTICE
Notification from sqlite3_log()
INFO
Common
β
SQLITE_WARNING
Warning from sqlite3_log()
WARNING
Common
β
SQLITE_ROW
sqlite3_step() has another row ready
SUCCESS
Common
β
SQLITE_DONE
sqlite3_step() finished executing
SUCCESS
Common
β
SQLITE_ERROR_MISSING_COLLSEQ
Missing collating sequence
ERROR
Notable
β
SQLITE_ABORT_ROLLBACK
Statement aborted due to ROLLBACK
WARNING
Notable
β
SQLITE_BUSY_RECOVERY
Busy: another connection is recovering WAL
WARNING
Notable
β
SQLITE_BUSY_SNAPSHOT
Busy: WAL snapshot is out of date
WARNING
Notable
β
SQLITE_BUSY_TIMEOUT
Busy: timeout waiting for lock
ERROR
Notable
β
SQLITE_LOCKED_SHAREDCACHE
Locked due to shared-cache contention
WARNING
Notable
β
SQLITE_READONLY_RECOVERY
Read-only: WAL recovery required by another connection
WARNING
Notable
β
SQLITE_READONLY_CANTLOCK
Read-only: unable to obtain shared lock
WARNING
Notable
β
SQLITE_READONLY_ROLLBACK
Read-only: rollback journal prevents read
WARNING
Notable
β
SQLITE_CANTOPEN_ISDIR
Cannot open β path is a directory
ERROR
Notable
β
SQLITE_CANTOPEN_FULLPATH
Cannot open β full path resolution failed
ERROR
Notable
β
SQLITE_CANTOPEN_SYMLINK
Cannot open β symlinks not allowed
ERROR
Notable
β
SQLITE_CORRUPT_VTAB
Virtual table content is corrupt
ERROR
Critical
β
SQLITE_CORRUPT_SEQUENCE
sqlite_sequence table is corrupt
ERROR
Critical
β
SQLITE_CORRUPT_INDEX
Index is inconsistent with table
ERROR
Critical
β
SQLITE_CONSTRAINT_CHECK
CHECK constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_FOREIGNKEY
FOREIGN KEY constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_NOTNULL
NOT NULL constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_PRIMARYKEY
PRIMARY KEY constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_UNIQUE
UNIQUE constraint failed
ERROR
Notable
β
SQLITE_CONSTRAINT_ROWID
Rowid is not unique
ERROR
Notable
β
SQLITE_CONSTRAINT_DATATYPE
Strict table datatype constraint failed
ERROR
Notable
β
SQLITE_NOTICE_RECOVER_WAL
WAL file recovery in progress (log notice)
INFO
Common
β
SQLITE_NOTICE_RECOVER_ROLLBACK
Hot journal rollback in progress (log notice)
INFO
Common
β
SQLITE_WARNING_AUTOINDEX
Query using automatic index (log warning)
WARNING
Common
β
SQLITE_OK_LOAD_PERMANENTLY
Extension loaded permanently into SQLite
SUCCESS
Common
β
SQLITE_IOERR_READ
I/O error during file read
FATAL
Critical
β
SQLITE_IOERR_SHORT_READ
I/O error: short read (unexpected EOF)
ERROR
Critical
β
SQLITE_IOERR_WRITE
I/O error during file write
FATAL
Critical
β
SQLITE_IOERR_FSYNC
I/O error during fsync()
FATAL
Critical
β
SQLITE_IOERR_TRUNCATE
I/O error during file truncation
FATAL
Critical
β
SQLITE_IOERR_DELETE
I/O error deleting journal file
ERROR
Notable
β
SQLITE_IOERR_NOMEM
I/O subsystem out of memory
FATAL
Critical
β
SQLITE_IOERR_LOCK
I/O error obtaining file lock
ERROR
Notable
β
SQLITE_IOERR_MMAP
I/O error during memory-mapped file access
ERROR
Notable
β
SQLITE_IOERR_BEGIN_ATOMIC
I/O error starting atomic write
ERROR
Notable
β
SQLITE_IOERR_COMMIT_ATOMIC
I/O error committing atomic write
FATAL
Critical
β
SQLITE_IOERR_ROLLBACK_ATOMIC
I/O error rolling back atomic write
FATAL
Critical
β
SQLITE_IOERR_SHMMAP
I/O error memory-mapping WAL shared memory
ERROR
Notable
β
SQLITE_IOERR_SEEK
I/O error during file seek
FATAL
Critical
β
SQLITE_IOERR_DELETE_NOENT
I/O error deleting non-existent file
INFO
Common
β
SQLITE_IOERR_CORRUPTFS
I/O error β filesystem is corrupt
FATAL
Critical
β
SQLITE_LOCKED_VTAB
Virtual table is locked
WARNING
Notable
β
SQLITE_READONLY_DBMOVED
Read-only: database file has been moved
ERROR
Notable
β
SQLITE_READONLY_CANTINIT
Read-only: unable to initialise shared memory
ERROR
Notable
β
SQLITE_READONLY_DIRECTORY
Read-only: journal directory is not writable
ERROR
Notable
β
SQLITE_CONSTRAINT_COMMITHOOK
Commit hook requested rollback
WARNING
Notable
β
SQLITE_CONSTRAINT_TRIGGER
Constraint raised by a trigger
ERROR
Notable
β
SQLITE_CONSTRAINT_VTAB
Virtual table constraint violation
ERROR
Notable
β
SQLITE_CONSTRAINT_PINNED
Cannot delete a row required by a rowid scan
ERROR
Notable
β
SQLITE_AUTH_USER
Authorisation denied by user
ERROR
Notable
β
SQLITE_OK_SYMLINK
File is a symlink (success with note)
SUCCESS
Common
β
SQLITE_ERROR_RETRY
Internal retry signal (not user-facing)
INFO
Common
β
SQLITE_ERROR_SNAPSHOT
Snapshot is out of date
ERROR
Notable
β
SQLITE_NOTICE_RBU
RBU update notice from sqlite3_log()
INFO
Common
β
SQLITE_IOERR_DATA
I/O error: data integrity check failed
FATAL
Critical
β
SQLITE_IOERR_DIR_FSYNC
I/O error syncing the journal directory
FATAL
Critical
β
SQLITE_IOERR_UNLOCK
I/O error releasing file lock
ERROR
Notable
β
SQLITE_IOERR_RDLOCK
I/O error checking reserved read lock
ERROR
Notable
β
SQLITE_IOERR_ACCESS
I/O error checking file existence/access
ERROR
Notable
β
SQLITE_IOERR_CLOSE
I/O error closing file descriptor
WARNING
Notable
β
SQLITE_IOERR_SHMOPEN
I/O error opening WAL shared-memory file
ERROR
Notable
β
SQLITE_IOERR_SHMSIZE
I/O error resizing WAL shared-memory file
ERROR
Notable
β
SQLITE_IOERR_GETTEMPPATH
I/O error finding a temporary directory
ERROR
Notable
β