extendedErrCode



Returns the numeric result Result Code Constants for the most recent failed SQLite API call associated with this database connection. The extendedErrCode and the errCode methods are functionally equivalent, see the remarks.

Arguments: This method takes no arugments
Return value: Returns a numeric result code.
Remarks: The errMsg method provides an English-language description of the current value of extendedErrCode. If a previous SQLite API call failed, but the most recent call succeeded, the return fromextendedErrCodeanderrMsgis undefined. If a SQLite API fails with a result code of MISUSE, that means the API was invoked incorrectly by the program. In that case, the error code and message may or may not be set. In SQLite, extended result codes are turned off by default, so the SQLite API provides an extended error code API that returns the extended result codes even if extended result codes are turned off. In ooSQLite however, the extended result codes are turned on during compilation. This makes theerrCodemethod and the extendedErrCodemethod exactly equivalent. TheextendedErrCodemethod is provided for completeness.
Details: The functionality of theextendedErrCodemethod is similar to that of the SQLite sqlite3_extended_errcode API.