forked from crabbly/Print.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: send XMLHttpRequest as second param for onError
Currently the `onError` callback only has the `req.statusText` field, as param. Would be useful to have the XMLHttpRequest object instance along with the req.statusText, so we are able to consume all the details from the request, the response (ArrayBuffer) for instance. When available the XMLHttpRequest instance used in the request is sent as second param for the `onError` callback.
- Loading branch information
1 parent
c31460b
commit fb758c3
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters