macro_rules! error { ($error:expr) => { ... }; ($message:literal) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Create an error at the error level.
The argument can be either:
- an expression implementing
Display
- a string literal
- a format string, similar to the
format!()
macro