macro_rules! err_from_type { ($error_type:expr) => { ... }; ($error_type:expr, $($args:tt)*) => { ... }; }