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