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

toJSON() function not documented in readme #2465

Closed
pavel-john opened this issue Oct 14, 2019 · 2 comments
Closed

toJSON() function not documented in readme #2465

pavel-john opened this issue Oct 14, 2019 · 2 comments

Comments

@pavel-john
Copy link

pavel-john commented Oct 14, 2019

Section/Content To Improve
https://github.com/axios/axios#handling-errors

Suggested Improvement
Axios error has toJSON() method which is very useful, but not documented. Please add reference to error handling section.

Relevant File(s): README.md

@yasuf
Copy link
Collaborator

yasuf commented Oct 14, 2019

Thanks for the suggestion, I added an example for that

@felipewmartins
Copy link
Collaborator

@yasuf added the new documentation.

@axios axios locked and limited conversation to collaborators May 22, 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

No branches or pull requests

3 participants