You could see document that see C<main.c> file C<sqlite3_errmsg>function. URL:http://www.sqlite.org/capi3.html under macro define { #define SQLITE_OK 0 /* Successful result */ #define SQLITE_ERROR 1 /* SQL error or missing database */ #define SQLITE_INTERNAL 2 /* An internal logic error in SQLite */ #define SQLITE_PERM 3 /* Access permission denied */ #define SQLITE_ABORT 4 /* Callback routine requested an abort */ #define SQLITE_BUSY 5 /* The database file is locked */ #define SQLITE_LOCKED 6 /* A table in the database is locked */ #define SQLITE_NOMEM 7 /* A malloc() failed */
.etc } Thanks bloves On 4/21/05, Will Leshner <[EMAIL PROTECTED]> wrote: > On 4/20/05, liigo <[EMAIL PROTECTED]> wrote: > > I want to localize the error message of sqlite, such as: > > > > errcode=1: "No such table: xx" > > > > But where is the message in the source file? > > Many of the error strings are in main.c. >