cairo_lang_diagnostics

Macro error_code

Source
macro_rules! error_code {
    ($code:expr) => { ... };
}
Expand description

Constructs an ErrorCode.

let code: ErrorCode = error_code!(E0001);