DigitalBrainJS
7f1236652a
Refactored AxiosError to a constructor;
...
Refactored `Cancel` to a constructor, a subclass of the `AxiosError`;
Expose CanceledError class;
Refactored axios error codes;
Added `toFlatObject` util;
2021-10-14 19:15:16 +03:00
Alan Wang
885ada6d9b
Fixing getting local files (file://) failed ( #2470 )
...
* fix issue #2416 , #2396
* fix Eslint warn
* Modify judgment conditions
* add unit test
* update unit test
* update unit test
2020-03-23 21:49:38 +08:00
Rikki Gibson
503418718f
Remove XDomainRequest special status handling
2018-08-06 09:56:51 +02:00
Rubén Norte
22ce6db383
Adding request to error objects when it is available
2017-04-08 21:44:15 +02:00
Nick Uraltsev
6f2186d863
Modify createError and enhanceError functions to accept response as parameter
2016-06-13 18:58:55 -07:00
Nick Uraltsev
91dae3c4ad
Improve error handling
2016-06-13 13:56:08 -07:00
Matt Zabriskie
203cbc2da0
Moving settle & transformData from helpers/ -> core/
2016-06-01 13:54:38 -06:00