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