n0_error

Macro ensure_any

Source
macro_rules! ensure_any {
    ($cond:expr, $fmt:literal) => { ... };
    ($cond:expr, $fmt:literal$(, $($arg:expr),* $(,)?)?) => { ... };
    ($cond:expr, $err:expr) => { ... };
}
Expand description

Ensures a condition, otherwise returns an [AnyError].