macro_rules! raise_noreturn {
($kind: expr, $string: literal) => { ... };
($kind: expr, $msg: expr) => { ... };
($kind: expr, $string: literal, $($fmt_args: expr),*) => { ... };
}Expand description
Creates an exception wrapped in an Err.
The first argument is the kind of the exception, the second the message or format string.
Any further arguments are passed into the format! string.