define_error

Macro 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.