macro_rules! set_error { ($code:expr, $msg:literal) => { ... }; ($code:expr, $($msg_args:expr),+) => { ... }; }
Set the last error.