Crate try_or_wrap

Source

Macrosยง

try_or_wrap
Helper macro for handling multiple result types easily. The result is similar to using try!, but instead passing the Err through as is, it will be wrapped in a given enum. This allows to simplify handling multiple errors in one function.