-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Closed
Description
Summary
In the Javascript implementation of AxiosError, the status is only attached to the toJson, but not in the AxiosError itself. However, in the type declaration of AxiosError, there is status?: number field. Because of this, I have accidentally misused it for quite a while, as it is more obvious and direct than error.response.status.
The PR #5331 seems to already fix this issue, and it was even approved. But it was not merged. Can axios team merge this, or there is something else that the PR need to resolve?
Metadata
Metadata
Assignees
Labels
No labels