macro_rules! assert {
    ($condition:expr, $id:expr, $msg:expr) => { ... };
}
Expand description

Check some boolean condition; if it is not met, return an Err(Error) with the given id and message. Can be used within functions which return a rustmex::Result.