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

Expose kind or category to errors #7

Open
rossmacarthur opened this issue Oct 2, 2022 · 0 comments
Open

Expose kind or category to errors #7

rossmacarthur opened this issue Oct 2, 2022 · 0 comments
Labels
feature New feature or request

Comments

@rossmacarthur
Copy link
Owner

rossmacarthur commented Oct 2, 2022

Adding kind or category to errors would allow you to determine the exact reason for the error. For example std::io::Error has this

https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.kind

upon::Error already has an ErrorKind type but it is not currently public API.

@rossmacarthur rossmacarthur added the feature New feature or request label Oct 2, 2022
@rossmacarthur rossmacarthur changed the title Add kind or category to errors Expose kind or category to errors Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant