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

Adding isAxiosError flag to errors thrown by axios #1419

Merged
merged 4 commits into from
Aug 20, 2018

Conversation

AyushG3112
Copy link
Contributor

@AyushG3112 AyushG3112 commented Mar 15, 2018

Adding a isAxiosError flag in errors thrown by axios.

This PR aims to resolve the issue posed by #1415 while preventing breaking changes.

@vladkolotvin
Copy link

@AyushG3112 Can you resolve conflicts?
@axe312ger, @Khaledgarbaya

@axe312ger
Copy link
Contributor

Maybe as well @RikkiGibson and @emilyemorehouse

axe312ger
axe312ger previously approved these changes Aug 20, 2018
Copy link
Contributor

@axe312ger axe312ger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this will ease up correct error detection a lot :)

@Khaledgarbaya
Copy link
Collaborator

I resolved the conflict @cruelbob @AyushG3112, overall I agree with this change. I will try to merge asap

axe312ger
axe312ger previously approved these changes Aug 20, 2018
Copy link
Contributor

@axe312ger axe312ger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still LGTM

Copy link
Collaborator

@Khaledgarbaya Khaledgarbaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Khaledgarbaya Khaledgarbaya merged commit b681e91 into axios:master Aug 20, 2018
@vladkolotvin
Copy link

thx

@thomasdom
Copy link

Will this enhancement be available in 0.19 version? It would be very useful!

@filippoitaliano
Copy link

Is this isAxiosError property mentioned somewhere in the docs?

@axios axios locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants