Skip to main content

fatal

Macro fatal 

Source
macro_rules! fatal {
    ($($arg:tt)*) => { ... };
}
Expand description

Logs an error message and panics with the same message.

ยงExample

// Use the macro from the crate root
// fatal!("Something went wrong: {}", "error details");