Skip to content

Make ErrorResponse.toJSON easier to use #9

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

Merged
merged 3 commits into from
Apr 4, 2025
Merged

Make ErrorResponse.toJSON easier to use #9

merged 3 commits into from
Apr 4, 2025

Conversation

KyleJune
Copy link
Member

@KyleJune KyleJune commented Apr 4, 2025

This gets rid of the need to first convert a fetch response to JSON and check that it is a valid ErrorResponse before converting it into an HttpError.

@KyleJune KyleJune merged commit 763a730 into main Apr 4, 2025
14 checks passed
@KyleJune KyleJune deleted the dev branch April 4, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant