Macro mango_v4::error::error_msg_typed
source · macro_rules! error_msg_typed { ($code:expr, $($arg:tt)*) => { ... }; }
Expand description
Creates an Error with a particular message, using format!() style arguments
Example: error_msg_typed!(TokenPositionMissing, “index {} not found”, index)