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

add is_parse_method to hyper::Error #3760

Closed
wants to merge 1 commit into from
Closed

Conversation

mzr
Copy link

@mzr mzr commented Oct 4, 2024

Similarly to is_parse_status I'd like to have a mechanism I can depend on to have custom logic for HTTP method parse errors.

The Kinds of errors are private outside of the crate's code, so seems like helper functions are they way. There are some already, I'm just adding another one.

@seanmonstar
Copy link
Member

Thanks for the PR! I appreciate the goal, to make more of the error types actionable. However, I'd really much rather make progress on #2845, and come up with a nicer way to expose details about the error.

@mzr
Copy link
Author

mzr commented Oct 11, 2024

Sure thing!

@mzr mzr closed this Oct 11, 2024
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