Macro ensure

Source
macro_rules! ensure {
    ($cond:expr, $($arg:tt)*) => { ... };
}
Expand description

Exits a function early with an Error if the condition is not satisfied.