Skip to main content

user_input_error

Macro user_input_error 

Source
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.