Skip to main content

error

Macro error 

Source
macro_rules! error {
    ( $kind:expr, $text:expr ) => { ... };
    ( $kind:expr, $fmt:literal $(, $args:expr)+ ) => { ... };
}
Expand description

Syntactic sugar to instantiate an error.