Macro error_support::define_error
source · macro_rules! define_error { ($Kind:ident { $(($variant:ident, $type:ty)),* $(,)? }) => { ... }; }
Expand description
All the error boilerplate (okay, with a couple exceptions in some cases) in one place.