Seaquel
All SQL errors
Error code reference

SQLite error codes

SQLite returns a result code from every API call. The 30 or so primary codes each cover a broad kind of failure. Extended codes carry the primary code in their low eight bits and say more about the cause, so SQLITE_CONSTRAINT_UNIQUE (2067) is a kind of SQLITE_CONSTRAINT (19). Mistakes in the SQL itself all come back as SQLITE_ERROR, with the details in the message.

105 codes from the SQLite Result and Error Codes

SQLITE_OK

SQLITE_ERROR

SQLITE_INTERNAL

SQLITE_PERM

SQLITE_ABORT

SQLITE_BUSY

SQLITE_LOCKED

SQLITE_NOMEM

SQLITE_READONLY

SQLITE_INTERRUPT

SQLITE_IOERR

SQLITE_CORRUPT

SQLITE_NOTFOUND

SQLITE_FULL

SQLITE_CANTOPEN

SQLITE_PROTOCOL

SQLITE_EMPTY

SQLITE_SCHEMA

SQLITE_TOOBIG

SQLITE_CONSTRAINT

SQLITE_MISMATCH

SQLITE_MISUSE

SQLITE_NOLFS

SQLITE_AUTH

SQLITE_FORMAT

SQLITE_RANGE

SQLITE_NOTADB

SQLITE_NOTICE

SQLITE_WARNING

SQLITE_ROW

SQLITE_DONE