macro_rules! user_input_error {
($err_type:ident, $msg:expr) => { ... };
($err_type:ident, $($arg:tt)*) => { ... };
($err_type:ident) => { ... };
}Expand description
Create an Error::UserInput of the requested variant with minimal boilerplate.