SQLite result codes
From Just Solve the File Format Problem
Primary error codes
Error
|
Code
|
SQLITE_ABORT
|
0x0004
|
SQLITE_AUTH
|
0x0017
|
SQLITE_BUSY
|
0x0005
|
SQLITE_CANTOPEN
|
0x000e
|
SQLITE_CONSTRAINT
|
0x0013
|
SQLITE_CORRUPT
|
0x000b
|
SQLITE_DONE
|
0x0065
|
SQLITE_EMPTY
|
0x0010
|
SQLITE_ERROR
|
0x0001
|
SQLITE_FORMAT
|
0x0018
|
SQLITE_FULL
|
0x000d
|
SQLITE_INTERNAL
|
0x0002
|
SQLITE_INTERRUPT
|
0x0009
|
SQLITE_IOERR
|
0x000a
|
SQLITE_LOCKED
|
0x0006
|
SQLITE_MISMATCH
|
0x0014
|
SQLITE_MISUSE
|
0x0015
|
SQLITE_NOLFS
|
0x0016
|
SQLITE_NOMEM
|
0x0007
|
SQLITE_NOTADB
|
0x001a
|
SQLITE_NOTFOUND
|
0x000c
|
SQLITE_NOTICE
|
0x001b
|
SQLITE_OK
|
0x0000
|
SQLITE_PERM
|
0x0003
|
SQLITE_PROTOCOL
|
0x000f
|
SQLITE_RANGE
|
0x0019
|
SQLITE_READONLY
|
0x0008
|
SQLITE_ROW
|
0x0064
|
SQLITE_SCHEMA
|
0x0011
|
SQLITE_TOOBIG
|
0x0012
|
SQLITE_WARNING
|
0x001c
|
Extended error codes
Error
|
Code
|
SQLITE_ABORT_ROLLBACK
|
0x0204
|
SQLITE_BUSY_RECOVERY
|
0x0105
|
SQLITE_BUSY_SNAPSHOT
|
0x0205
|
SQLITE_CANTOPEN_CONVPATH
|
0x040e
|
SQLITE_CANTOPEN_FULLPATH
|
0x030e
|
SQLITE_CANTOPEN_ISDIR
|
0x020e
|
SQLITE_CANTOPEN_NOTEMPDIR
|
0x010e
|
SQLITE_CONSTRAINT_CHECK
|
0x0113
|
SQLITE_CONSTRAINT_COMMITHOOK
|
0x0213
|
SQLITE_CONSTRAINT_FOREIGNKEY
|
0x0313
|
SQLITE_CONSTRAINT_FUNCTION
|
0x0413
|
SQLITE_CONSTRAINT_NOTNULL
|
0x0513
|
SQLITE_CONSTRAINT_PRIMARYKEY
|
0x0613
|
SQLITE_CONSTRAINT_ROWID
|
0x0a13
|
SQLITE_CONSTRAINT_TRIGGER
|
0x0713
|
SQLITE_CONSTRAINT_UNIQUE
|
0x0813
|
SQLITE_CONSTRAINT_VTAB
|
0x0913
|
SQLITE_CORRUPT_VTAB
|
0x010b
|
SQLITE_IOERR_ACCESS
|
0x0d0a
|
SQLITE_IOERR_BLOCKED
|
0x0b0a
|
SQLITE_IOERR_CHECKRESERVEDLOCK
|
0x0e0a
|
SQLITE_IOERR_CLOSE
|
0x100a
|
SQLITE_IOERR_CONVPATH
|
0x1a0a
|
SQLITE_IOERR_DELETE
|
0x0a0a
|
SQLITE_IOERR_DELETE_NOENT
|
0x170a
|
SQLITE_IOERR_DIR_CLOSE
|
0x110a
|
SQLITE_IOERR_DIR_FSYNC
|
0x050a
|
SQLITE_IOERR_FSTAT
|
0x070a
|
SQLITE_IOERR_FSYNC
|
0x040a
|
SQLITE_IOERR_GETTEMPPATH
|
0x190a
|
SQLITE_IOERR_LOCK
|
0x0f0a
|
SQLITE_IOERR_MMAP
|
0x180a
|
SQLITE_IOERR_NOMEM
|
0x0c0a
|
SQLITE_IOERR_RDLOCK
|
0x090a
|
SQLITE_IOERR_READ
|
0x010a
|
SQLITE_IOERR_SEEK
|
0x160a
|
SQLITE_IOERR_SHMLOCK
|
0x140a
|
SQLITE_IOERR_SHMMAP
|
0x150a
|
SQLITE_IOERR_SHMOPEN
|
0x120a
|
SQLITE_IOERR_SHMSIZE
|
0x130a
|
SQLITE_IOERR_SHORT_READ
|
0x020a
|
SQLITE_IOERR_TRUNCATE
|
0x060a
|
SQLITE_IOERR_UNLOCK
|
0x080a
|
SQLITE_IOERR_WRITE
|
0x030a
|
SQLITE_LOCKED_SHAREDCACHE
|
0x0106
|
SQLITE_NOTICE_RECOVER_ROLLBACK
|
0x021b
|
SQLITE_NOTICE_RECOVER_WAL
|
0x011b
|
SQLITE_READONLY_CANTLOCK
|
0x0208
|
SQLITE_READONLY_DBMOVED
|
0x0408
|
SQLITE_READONLY_RECOVERY
|
0x0108
|
SQLITE_READONLY_ROLLBACK
|
0x0308
|
SQLITE_WARNING_AUTOINDEX
|
0x011c
|
Reference