Comments (1)
Actually it appears this was my mistake of not understanding how promises work. Turns out you can .catch
a promise and then manually handle errors in the catch callback.
from axios.
Related Issues (20)
- Why is my initiator isAxiosError, when there is no error ?
- Request for reopen #1727 Default params serialisation behaviour incompatible with recent Tomcat versions.
- XHR adapter returns a resolved config on errors HOT 5
- [Security] axios not available on huntr
- [ DELETED ]
- 能否加一个自定义配置的选项,我想带到拦截器中 HOT 2
- Serializing AxiosError customProps
- Video playlist
- Chache method from Post to Get. HOT 1
- Cannot find name 'ProgressEvent' when compiling TypeScript
- Node / HTTPS through corporate HTTP proxy fails
- How to ignore errors in interceptors after request cancellation
- Frequency of upload progress decreased after 1.6.8 HOT 4
- Module '"axios"' has no exported member 'AxiosError'.ts(2305) HOT 4
- Typo in PT-BR version @ https://axios-http.com/ptbr/docs/req_config
- Probably an error in the utm tag HOT 2
- support custom protocol
- Still getting the 'SyntaxError: Unexpected identifier' error HOT 1
- [moduleId].call() is not a function. HOT 2
- cancellation not documented in request config docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axios.