macro_rules! ensure_any {
($cond:expr, $($tt:tt)*) => { ... };
}Expand description
Ensures a condition, otherwise returns an AnyError.
This macro takes an expression as its first argument. If the expression evaluates
to false, the macro expands to returning an error result. The error will be constructed
by passing the remaining arguments after the expression to anyerr. See its docs for
supported forms.