macro_rules! err {
($kind:expr, $($arg:tt)*) => { ... };
}
Expand description
A macro to create a new error with a kind and a message.
§Arguments
kind
- The kind of error.
message
- The error message.
§Returns
A new error with the given kind and message.