Macro uucore::crash_if_err [−][src]
macro_rules! crash_if_err {
($exit_code : expr, $exp : expr) => { ... };
}
Expand description
Unwraps the Result. Instead of panicking, it exists the program with the provided exit code.
macro_rules! crash_if_err {
($exit_code : expr, $exp : expr) => { ... };
}
Unwraps the Result. Instead of panicking, it exists the program with the provided exit code.