mirror of
https://github.com/flarum/core.git
synced 2025-02-25 03:33:42 +01:00
The default XHR error handler produce an alert which is appropriate to the response status code. It can be overridden per-request (by specifying the `errorHandler` option) so that the alert can be suppressed or displayed in a different position (e.g. inside a modal). ref #118