macro_rules! error { ( $err_type:ident, $msg:literal ) => { ... }; ( $err_type:ident, $msg:literal $(, $x:expr)+) => { ... }; }