Macro abscissa_core::fatal [−][src]
macro_rules! fatal {
($app : expr, $msg : expr) => { ... };
($app : expr, $fmt : expr, $($arg : tt) +) => { ... };
}
Expand description
Terminate the application with a fatal error, running Abscissa’s shutdown hooks.
This macro is useful in cases where you don’t have a particular error type
you’d like to use when exiting but would like to have a formatted error
message. If you do have a suitable error type, use fatal_error!()
instead.
Takes the same arguments as format!()
.