We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having a report with error message mentioning SQLITE_IOERR. However, I cannot find the exact reason why application fails to use a database.
SQLITE_IOERR
There are number of possibilities of what could went wrong in case of SQLITE_IOERR. The Extended Result Code List could provide more information about IO errors: https://www.sqlite.org/rescode.html#extended_result_code_list
When creating a Database object, provide a verbosity level for SQLite database errors.
Database
For example
const database = new Database(file, { mode: OPEN_READWRITE, useExtendedResultCode: true });
useExtendedResultCode has two possible values:
useExtendedResultCode
false
true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
I am having a report with error message mentioning
SQLITE_IOERR
. However, I cannot find the exact reason why application fails to use a database.There are number of possibilities of what could went wrong in case of
SQLITE_IOERR
. The Extended Result Code List could provide more information about IO errors: https://www.sqlite.org/rescode.html#extended_result_code_listProposed implementation
When creating a
Database
object, provide a verbosity level for SQLite database errors.For example
useExtendedResultCode
has two possible values:false
(default) - primary result code is usedtrue
- extended result code is usedThe text was updated successfully, but these errors were encountered: