macro_rules! cmderr { ($msg:literal $(,)?) => { ... }; ($err:expr $(,)?) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Get a formatted error string.
It accepts any arguments that can be passed to anyhow::anyhow
.
macro_rules! cmderr { ($msg:literal $(,)?) => { ... }; ($err:expr $(,)?) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Get a formatted error string.
It accepts any arguments that can be passed to anyhow::anyhow
.