-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
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
Meaningless error code [error messages] #366
Comments
The message indicates to me that you are using the Android version. In this case, the sqlite error code is simply included within the error message. |
Yes, I am using the Android version. Hmm the only thing I get is And why it tells me |
The error |
Hmm ok. So there is no way to indicate what error exactly occurred? |
I will look into it later this week. According to the Web SQL spec |
Ok thank you. |
I am getting wrong respectively meaningless error messages in my error callback. For example: I made a typo in my insert statement:
INSERTt into...
. Usually I get a syntax error in SQLite but in this cordova plugin I get a{message: prepare statement failed with error: 1, code: 0}
. I can't really see what's going wrong. Same for not null constraints that must be fulfilled.The text was updated successfully, but these errors were encountered: