Macro rustsec_admin::prelude::ensure
source · macro_rules! ensure { ($cond:expr, $kind:expr, $msg:expr) => { ... }; ($cond:expr, $kind:expr, $fmt:expr, $($arg:tt)+) => { ... }; }
Expand description
Abscissa core prelude Ensure a condition holds, returning an error if it doesn’t (ala assert)