Re: [JS SDK] return a Error on failed database actions
Hi Rico,
for the next SDK build we changed the interface of the onerror callback according to your request.
Actually we added three parameters:
- error
- errorText
- dbErrorCode - this would be the one you are looking for
Please see the updated documentation for details:
https://sdk.innovaphone.com/13r2/doc/javascript/Database.htm#DatabaseOperation_onerror
Note: you need to wait for the next beta build to try it.
BR and thanks again!
Matthias