-
-
Notifications
You must be signed in to change notification settings - Fork 969
Closed
Labels
enhancementThis change will extend Got featuresThis change will extend Got featuresgood for beginnerThis issue is easy to fixThis issue is easy to fix✭ help wanted ✭
Description
What would you like to discuss?
On HTTPErrors the statusCode of the response is not exposed directly. You have to go through the HTTPError.response to get the statusCode
I would've expected the statusCode to be directly exposed on the HTTPError or otherwise set as the value of the code
property, but neither is true
Is that as expected or is this a bug?
Checklist
- I have read the documentation.
Metadata
Metadata
Assignees
Labels
enhancementThis change will extend Got featuresThis change will extend Got featuresgood for beginnerThis issue is easy to fixThis issue is easy to fix✭ help wanted ✭