#define SQLITE_OK 0/* success | Successful result *//*Error code start*/#define SQLITE_ERROR 1/* SQL error or lost database | SQL error or missing database */#define SQLITE_INTERNAL 2/* SQLITE Internal Logic Error | Internal logic Error in SQLite */#define SQLITE_PERM 3/* Deny access | Access Permission denied */#define SQLITE_ABORT 4/* Callback function request Cancel Operation | Callback routine requested an abort * *#define SQLITE_BUSY 5/* database file is locked | The database file is locked */#define SQLITE_LOCKED 6/* A table in the database is locked | A table in the database is locked */#define SQLITE_NOMEM 7/* a malloc () function call failed | A malloc () failed */#define SQLITE_READONLY 8/* Try to write to a read-only database | Attempt to write a readonly database */#define SQLITE_INTERRUPT 9/* Operation interrupted by Sqlite3_interupt () function | Operation terminated by Sqlite3_interrupt () */#define SQLITE_IOERR 10/* Some disk I/O errors occur | Some kind of disk I/O error occurred */#define SQLITE_CORRUPT 11/* Database disk image is incorrect | The database disk image is malformed */Unknown operand in #define SQLITE_NOTFOUND/* Sqlite3_file_control () | Unknown opcode in Sqlite3_file_control () */#define SQLITE_FULL 13/* Because the database is full causes insert failure | Insertion failed because database is full */#define SQLITE_CANTOPEN 14/* Unable to open database file | Unable to open the database file */#define SQLITE_PROTOCOL 15/* Database Lockout protocol error | Database Lock protocol Error */#define SQLITE_EMPTY 16/* Database is empty | Database is empty */#define SQLITE_SCHEMA 17/* Data structure changed | The database schema changed */#define SQLITE_TOOBIG 18/* string or binary data exceeds size limit | String or BLOB exceeds size limit */#define SQLITE_CONSTRAINT 19/* Canceled due to constraint violation | Abort due to constraint violation */#define SQLITE_MISMATCH 20/* Data Type mismatch | Data Type Mismatch */#define SQLITE_MISUSE 21/* Incorrect Library usage | Library used incorrectly */#define SQLITE_NOLFS 22/* uses features not supported by the operating system | Uses OS features not supported on Host */#define SQLITE_AUTH 23/* Authorization Failed | Authorization denied */#define SQLITE_FORMAT 24/* Additional database format Error | Auxiliary database Format Error */#define SQLITE_RANGE 25/* The second parameter passed to Sqlite3_bind () Out of range | 2nd parameter to SQLITE3_BI nd out of range */#define SQLITE_NOTADB 26/* File opened is not a database file | File opened a database file */#define SQLITE_ROW/* SQLITE3_STEP () has produced a row result | Sqlite3_step () has Anot She row Ready */#define SQLITE_DONE 101/* SQLITE3_STEP () Complete execution | Sqlite3_step () has finished executing */* End of error code * /
Sqlite error code