error

Macro error 

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

Unconditionally return a rustmex::Result with the error variant, set with an id and a message. Useful when the error condition has already been checked in some other way.