macro_rules! impl_std_error {
    ($type:ty) => { ... };
    ($type:ty, $field:ident) => { ... };
}
Expand description

Impls std::error::Error for the specified type with appropriate attributes, possibly returning source.