Macro nano_core::try_exit

source ·
macro_rules! try_exit {
    ($expr:expr) => { ... };
}
Expand description

Just like Rust’s try!() macro, but instead of performing an early return upon an error, it invokes the shutdown() function upon an error in order to cleanly exit Theseus OS.