[][src]Macro abscissa_core::ensure

macro_rules! ensure {
    ($cond:expr, $kind:path, $msg:expr) => { ... };
    ($cond:expr, $kind:path, $fmt:expr, $($arg:tt)+) => { ... };
}

Ensure a condition holds, returning an error if it doesn't (ala assert)