Copy codeThe Code is as follows:
# Define SQLITE_ OK 0/* success | Successful result */
/* Error code start */
# Define SQLITE_ERROR 1/* SQL errors or database loss | SQL error or missing database */
# Define SQLITE_INTERNAL 2/* Internal SQLite logic error | Internal logic error in SQLite */
# Define SQLITE_PERM 3/* Access denied | Access permission denied */
# Define SQLITE_ABORT 4/* Callback function request to cancel the operation | Callback routine requested an abort */
# Define SQLITE_BUSY 5/* The 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/* An error occurred while calling the malloc () function | A malloc () failed */
# Define SQLITE_READONLY 8/* try to write data to a read-only database | Attempt to write a readonly database */
# Define SQLITE_INTERRUPT 9/* The Operation is interrupted by the 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_0000upt 11/* incorrect database disk image | The database disk image is malformed */
# Define SQLITE_NOTFOUND 12/* Unknown operand in sqlite3_file_control () | Unknown opcode in sqlite3_file_control ()*/
# Define SQLITE_FULL 13/* Insertion failure due to full database | Insertion failed because database is full */
# Define SQLITE_CANTOPEN 14/* Unable to open the database file | Unable to open the database file */
# Define SQLITE_PROTOCOL 15/* Database lock protocol error | Database lock protocol error */
# Define SQLITE_EMPTY 16/* the Database is empty | Database is empty */
# Define SQLITE_SCHEMA 17/* Data Structure Change | The database schema changed */
# Define SQLITE_TOOBIG 18/* the size of the String or binary data exceeds the size limit. | String or BLOB exceeds size limit */
# Define SQLITE_CONSTRAINT 19/* canceled due to constraints 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/* 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/* The format of the additional database is incorrect | Auxiliary database format error */
# Define SQLITE_RANGE 25/* The second parameter passed to sqlite3_bind () is out of the range | 2nd parameter to sqlite3_bind out of range */
# Define SQLITE_NOTADB 26/* The opened File is not a database file | File opened that is not a database file */
# Define SQLITE_ROW 100/* sqlite3_step () has produced a row result | sqlite3_step () has another row ready */
# Define SQLITE_DONE 101/* sqlite3_step () to complete the execution | sqlite3_step () has finished executing */
/* End the error code */