n0_error

Macro bail_any

Source
macro_rules! bail_any {
    ($($tt:tt)*) => { ... };
}
Expand description

Returns an error result by constructing an AnyError with anyerr.

This macro accepts the same forms as anyerr, but wraps the error into Err and expands to returning the result from the current function.