cairo_lang_diagnostics

Macro error_code

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

Constructs an ErrorCode.

let code: ErrorCode = error_code!(E0001);