Refactor error management
Closed this issue · 0 comments
fmenozzi commented
- Current solution is mostly readable at call sites but quite verbose and repetitive in the actual
error
module - Since this is not a library,
Box<Error>
might even be good enough- Preserves callsite readability with
?
- Preserves callsite readability with
- Alternatively, consider something like the
failure
crate, which seems to be less verbose to set up than something likeerror-chain