Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set isAxiosError property on errors. #210

Merged
merged 2 commits into from Jan 4, 2020

Conversation

gilbsgilbs
Copy link
Contributor

@donaldpipowitch
Copy link

@ctimmerm would it be possible to merge and release this? Is there something missing? Thank you ❤️

@ctimmerm
Copy link
Owner

ctimmerm commented Jan 4, 2020

Thanks!

@ctimmerm ctimmerm merged commit 036d1d2 into ctimmerm:master Jan 4, 2020
@gilbsgilbs gilbsgilbs deleted the is-axios-error-property branch January 4, 2020 08:46
@womcauliff
Copy link
Contributor

Glad to see this was merged! Can we expect this to be included in a release soon?
I have some error handling middleware which expects .isAxiosError to be true for axios network errors. This has resulted in my "negative case" tests failing because axios-mock-adapter errors are being treated differently than axios errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants