macro_rules! error { ( $( $arg:tt )* ) => { ... }; }
Log an error message, which will trigger a panic at the end of the current scope.
scope
This is identical to invoking log!(log::Level::Error, ...).
log!(log::Level::Error, ...)
If invoked outside any scope, this will immediately panic with a generic message.