Macrosยง
- try_
or_ wrap - Helper macro for handling multiple result types easily. The result
is similar to using
try!
, but instead passing theErr
through as is, it will be wrapped in a given enum. This allows to simplify handling multiple errors in one function.