module SQLite3::Constants::ErrorCode
CAPI3REF: Result Codes
Many SQLite functions return an integer result code from the set shown here in order to indicate success or failure.
New error codes may be added in future versions of SQLite.
Constants
- ABORT
-
Callback routine requested an abort
- AUTH
-
Authorization denied
- BUSY
-
The database file is locked
- CANTOPEN
-
Unable to open the database file
- CONSTRAINT
-
Abort due to constraint violation
- CORRUPT
-
The database disk image is malformed
- DONE
-
sqlite_step() has finished executing
- EMPTY
-
(Internal Only)
Database
table is empty - ERROR
-
SQL error or missing database
- FORMAT
-
Not used
- FULL
-
Insertion failed because database is full
- INTERNAL
-
An internal logic error in SQLite
- INTERRUPT
-
Operation terminated by sqlite_interrupt()
- IOERR
-
Some kind of disk I/O error occurred
- LOCKED
-
A table in the database is locked
- MISMATCH
-
Data type mismatch
- MISUSE
-
Library used incorrectly
- NOLFS
-
Uses OS features not supported on host
- NOMEM
-
A malloc() failed
- NOTADB
-
File opened that is not a database file
- NOTFOUND
-
(Internal Only) Table or record not found
- NOTICE
-
Notifications from sqlite3_log()
- OK
-
Successful result
- PERM
-
Access permission denied
- PROTOCOL
-
Database
lock protocol error - RANGE
-
2nd parameter to sqlite3_bind out of range
- READONLY
-
Attempt to write a readonly database
- ROW
-
sqlite_step() has another row ready
- SCHEMA
-
The database schema changed
- TOOBIG
-
Too much data for one row of a table
- WARNING
-
Warnings from sqlite3_log()