-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
anyhow:error as a "catch-all" error type is not ideal as it means throwing away the benefit gained from rusts native error handling and type system which enable great error quality with little added boilerplate code.
Describe the solution you'd like
https://docs.rs/thiserror/latest/thiserror/ < is my personal choice of crates for this purpose however there are others.
Describe alternatives you've considered
There is the alternative of manually building the error types and not using any crate at all but I don't see much of a reason for that.
There might be some other crates better suited for this specific job but I am not aware of any.
holtgrewe
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request