You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isCancel(value: any): value is Cancel;interfaceCancel{message: string|undefined;}
To Reproduce
Example
importaxios,{isCancel,AxiosError}from'axios';axios.get('/user?ID=12345').then(function(response){// handle successconsole.log(response);}).catch(function(error: AxiosError){if(isCancel(error)){}else{// error type is never}})
Code snippet
No response
Expected behavior
No response
Axios Version
1.6.0
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Source Code
To Reproduce
Example
Code snippet
No response
Expected behavior
No response
Axios Version
1.6.0
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: