#defineSQLITE_OK 0 /* 成功 | Successful result */
/* 錯誤碼開始 */
#defineSQLITE_ERROR 1 /* SQL錯誤 或 丟失數據庫 | SQL error or missing database */
#defineSQLITE_INTERNAL 2 /* SQLite 內部邏輯錯誤 | Internal logic error in SQLite */
#defineSQLITE_PERM 3 /* 拒絕訪問 | Access permission denied */
#defineSQLITE_ABORT 4 /* 回調函數請求取消操作 | Callback routine requested an abort */
#defineSQLITE_BUSY 5 /* 數據庫文件被鎖定 | The database file is locked */
#defineSQLITE_LOCKED 6 /* 數據庫中的一個表被鎖定 | A table in the database is locked */
#defineSQLITE_NOMEM 7 /* 某次 malloc() 函數調用失敗 | A malloc() failed */
#defineSQLITE_READONLY 8 /* 嘗試寫入一個只讀數據庫 | Attempt to write a readonly database */
#defineSQLITE_INTERRUPT 9 /* 操作被 sqlite3_interupt() 函數中斷 | Operationterminated by sqlite3_interrupt() */
#defineSQLITE_IOERR 10 /* 發生某些磁盤 I/O 錯誤 | Some kind of disk I/O erroroccurred */
#defineSQLITE_CORRUPT 11 /* 數據庫磁盤映像不正確 | The database disk image is malformed */
#defineSQLITE_NOTFOUND 12 /* sqlite3_file_control() 中出現未知操作數 | Unknown opcode insqlite3_file_control() */
#defineSQLITE_FULL 13 /* 因爲數據庫滿導致插入失敗 | Insertion failed because database is full */
#defineSQLITE_CANTOPEN 14 /* 無法打開數據庫文件 | Unable to open the database file */
#define SQLITE_PROTOCOL 15 /*數據庫鎖定協議錯誤 | Database lockprotocol error */
#defineSQLITE_EMPTY 16 /* 數據庫爲空 | Database is empty */
#defineSQLITE_SCHEMA 17 /* 數據結構發生改變 | The database schema changed */
#defineSQLITE_TOOBIG 18 /* 字符串或二進制數據超過大小限制 | String or BLOB exceeds size limit */
#defineSQLITE_CONSTRAINT 19 /* 由於約束違例而取消 | Abort due to constraint violation */
#defineSQLITE_MISMATCH 20 /* 數據類型不匹配 | Data type mismatch */
#defineSQLITE_MISUSE 21 /* 不正確的庫使用 | Library used incorrectly */
#defineSQLITE_NOLFS 22 /* 使用了操作系統不支持的功能 | Uses OS features not supported on host */
#defineSQLITE_AUTH 23 /* 授權失敗 | Authorization denied */
#defineSQLITE_FORMAT 24 /* 附加數據庫格式錯誤 | Auxiliary database format error */
#define SQLITE_RANGE 25 /*傳遞給sqlite3_bind()的第二個參數超出範圍 | 2nd parameter to sqlite3_bind out of range */
#defineSQLITE_NOTADB 26 /* 被打開的文件不是一個數據庫文件 | File opened that is not a database file */
#defineSQLITE_ROW 100 /* sqlite3_step() 已經產生一個行結果 | sqlite3_step() has anotherrow ready */
#defineSQLITE_DONE 101 /* sqlite3_step() 完成執行操作 | sqlite3_step() has finishedexecuting */
/* 錯誤碼結束 */