ResultCode

SQLite3 function result code

Named Enum Wrapper for sqlite’s C API result codes

Values

ValueMeaning
okSQLITE_OK

Successful result

errorSQLITE_ERROR

Generic error

internalDatabaseErrorSQLITE_INTERNAL

Internal logic error in SQLite

permissionSQLITE_PERM

Access permission denied

abortSQLITE_ABORT

Callback routine requested an abort

busySQLITE_BUSY

The database file is locked

lockedSQLITE_LOCKED

A table in the database is locked

noMemSQLITE_NOMEM

A malloc() failed

readOnlySQLITE_READONLY

Attempt to write a readonly database

interruptSQLITE_INTERRUPT

Operation terminated by sqlite3_interrupt()

ioErrorSQLITE_IOERR

Some kind of disk I/O error occurred

corruptDiskImageSQLITE_CORRUPT

The database disk image is malformed

opCodeNotFoundSQLITE_NOTFOUND

Unknown opcode in sqlite3_file_control()

dbFullSQLITE_FULL

Insertion failed because database is full

cantOpenSQLITE_CANTOPEN

Unable to open the database file

protocolErrorSQLITE_PROTOCOL

Database lock protocol error

emptySQLITE_EMPTY

Internal use only

schemaChangedSQLITE_SCHEMA

The database schema changed

tooBigSQLITE_TOOBIG

String or BLOB exceeds size limit

constraintViolationSQLITE_CONSTRAINT

Abort due to constraint violation

typeMismatchSQLITE_MISMATCH

Data type mismatch

libraryMisuseSQLITE_MISUSE

Library used incorrectly

noLFSSQLITE_NOLFS

Uses OS features not supported on host

authDeniedSQLITE_AUTH

Authorization denied

formatSQLITE_FORMAT

Not used

outOfRangeSQLITE_RANGE

2nd parameter to sqlite3_bind out of range

notADatabaseSQLITE_NOTADB

File opened that is not a database file

doneSQLITE_DONE

sqlite3_step() has finished executing

rowSQLITE_ROW

sqlite3_step() has another row ready

noticeSQLITE_NOTICE
warningSQLITE_WARNING

Meta