Skip to content

Axios error code introduction #5760

Closed

Description

@ChikyChan

Section/Content To Improve

https://github.com/axios/axios/blob/v1.x/README.md#handling-errors

Suggested Improvement

I notice you have refactored the AxiosError type and add some error code declaration, but I cannot find any documents to introduce these error codes. Is it possible to add some content to introduce the error code?

Relevant File(s)

README.md

Activity

  1. JBudiman00 commented on Jul 12, 2023

    @JBudiman00
    Contributor

    Hey I'm a first time contributor and would like to work on this issue. Is there a maintainer that would be willing to review/accept my PR?

    Just to be clear @ChikyChan, are you asking for documentation on the structure of the different errors axios can return?

  2. ChikyChan commented on Jul 17, 2023

    @ChikyChan
    Author

    Hey I'm a first time contributor and would like to work on this issue. Is there a maintainer that would be willing to review/accept my PR?

    Just to be clear @ChikyChan, are you asking for documentation on the structure of the different errors axios can return?

    Yes, I just want to be clear which situation will return what error code, so that I can how I can handle the api response for different situations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions