[][src]Macro easy_error::ensure

macro_rules! ensure {
    ($cond:expr, $ctx:expr) => { ... };
    ($cond:expr, $fmt:expr, $($arg:tt)*) => { ... };
}

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