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

Improve Error Response #18

Closed
refarer opened this issue Jun 2, 2022 · 1 comment · Fixed by #19
Closed

Improve Error Response #18

refarer opened this issue Jun 2, 2022 · 1 comment · Fixed by #19
Labels
enhancement New feature or request

Comments

@refarer
Copy link
Collaborator

refarer commented Jun 2, 2022

Improve Error Response

Expected behavior

Error thrown with JSON error response and headers

Actual behavior

At the moment an error is thrown with just this info response.status, response.statusText like in #15

Steps to reproduce the behavior

Receive an status not in the range 200-299

@refarer refarer added the enhancement New feature or request label Jun 2, 2022
@refarer refarer linked a pull request Jun 2, 2022 that will close this issue
@Mavanm599
Copy link

What

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants