You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail is now provided a map as proposed by @apb2006!
The additional argument is populated with a map containing the deferred and the arguments. This will allow a callback to, for example retry if it gets a busy response.
Additionally error handing has been greatly improved. Errors are now properly reported in BaseX, as well as potential bugs. Also, the fail logic has been revised and properly documented in the ReadMe.
When a fail callback is called. It should be provided a single argument which is map that contains all the error information.
I propose:
This way, the fail callback has the information needed to either report a useful error, including the bad arguments or continue the work somehow.
The text was updated successfully, but these errors were encountered: