macro_rules! btensure { ($cond:expr, $msg:literal $(,)?) => { ... }; ($cond:expr, $err:expr $(,)?) => { ... }; ($cond:expr, $fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Ensures that an expression evaluates to true, and if it does’nt, returns an error.