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

feat(http): add HTTP errors #2307

Merged
merged 1 commit into from
Jul 4, 2022
Merged

Conversation

kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Jun 3, 2022

This provides HTTP error classes for each HTTP error status code plus some utility functions. This allows more structured handling of HTTP errors. It is part of oak commons being contributed back to std.

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks useful addition to std/http. LGTM

@kitsonk kitsonk merged commit 5f0eb92 into denoland:main Jul 4, 2022
@kitsonk kitsonk deleted the feat_http_error branch July 4, 2022 06:40
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.

2 participants