Custom error handler for failed requests. Overrides the default error handler.
Return false (sync or promise) to fall back to the default error handler.
Useful for handling specific errors without displaying error alerts to the user.
To always show alerts, catch the error rejected by app.request instead.
Custom error handler for failed requests. Overrides the default error handler.
Return
false(sync or promise) to fall back to the default error handler. Useful for handling specific errors without displaying error alerts to the user. To always show alerts, catch the error rejected byapp.requestinstead.