Macro deskulpt::cmdbail

source ยท
macro_rules! cmdbail {
    ($msg:literal $(,)?) => { ... };
    ($err:expr $(,)?) => { ... };
    ($fmt:expr, $($arg:tt)*) => { ... };
}
Expand description

Return early a formatted error string.

This is equivalent to return Err(cmderr!($args...)).