Closed wduquette closed 4 years ago
Define a new macro, similar to molt_err!, that takes the error code as its first argument, e.g.,
molt_err!
molt_throw!("MYERR", "My error message with data {}", data);
throws an error with code MYERR and the given error message with the data substituted in.
MYERR
Define a new macro, similar to
molt_err!
, that takes the error code as its first argument, e.g.,throws an error with code
MYERR
and the given error message with the data substituted in.