macro_rules! define_error_conversions { ($Kind:ident { $(($variant:ident, $type:ty)),* $(,)? }) => { ... }; }
Expand description
Define a set of conversions from external error types into the provided
error kind. Use define_error
to do this at the same time as
define_error_wrapper
.