macro_rules! error_code { ($code:expr) => { ... }; }
Constructs an ErrorCode.
ErrorCode
let code: ErrorCode = error_code!(E0001);