macro_rules! err {
($variant:ident, $msg:expr) => { ... };
($variant:ident, $fmt:expr, $($arg:tt)+) => { ... };
}
Expand description
A handy macro borrowed from the signatory
crate that lets library-internal code generate
more readable exception handling flows