SQLITE_BUSY (5)SQLITE_BUSY (5) — Database Is Locked
The database file is locked by another connection or process.
26 error codes for the sqlite platform
SQLITE_BUSY (5)The database file is locked by another connection or process.
SQLITE_LOCKED (6)A table within the database is locked by the same connection.
SQLITE_NOMEM (7)SQLite could not allocate enough memory.
SQLITE_READONLY (8)The database is opened in read-only mode or the filesystem is read-only.
SQLITE_INTERRUPT (9)The operation was interrupted by sqlite3_interrupt().
SQLITE_IOERR (10)A disk I/O error occurred while reading or writing the database.
SQLITE_CORRUPT (11)The database file is corrupted.
SQLITE_FULL (13)The insert failed because the disk or database size limit was reached.
SQLITE_CANTOPEN (14)SQLite cannot open the database file.
SQLITE_SCHEMA (17)The schema changed between preparing and executing a statement.
SQLITE_TOOBIG (18)A string or BLOB value exceeds SQLite's maximum size.
SQLITE_CONSTRAINT (19)An INSERT, UPDATE, or DELETE violated a constraint.
SQLITE_MISMATCH (20)The data type does not match what was expected.
SQLITE_MISUSE (21)The SQLite API was used incorrectly.
SQLITE_RANGE (25)A parameter index passed to sqlite3_bind is out of range.
SQLITE_NOTADB (26)The file is not a valid SQLite database.
SQLITE_ERROR (1)A generic SQL error or missing database occurred.
SQLITE_PERM (3)The requested access mode for the database file is not allowed.
SQLITE_ABORT (4)The operation was aborted by a callback function.
SQLITE_NOTFOUND (12)An internal routine returned not found. Not commonly seen in application code.
SQLITE_WARNING (28)SQLite encountered a non-critical issue and issued a warning.
SQLITE_AUTH (23)The authorizer callback denied the operation.
SQLITE_FORMAT (24)This error code is reserved and not currently used by SQLite.
SQLITE_NOLFS (22)The platform does not support large files required by the database.
SQLITE_PROTOCOL (15)A database locking protocol error occurred.
SQLITE_EMPTY (16)The database file exists but contains no tables.