macro_rules! raise {
($($t: tt)*) => { ... };
}Expand description
Creates an exception wrapped in an Err and returns it from the current function or closure.
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.