Skip to main content

run_with_fatal_handler

Function run_with_fatal_handler 

Source
pub fn run_with_fatal_handler<F>(run: F) -> i32
where F: FnOnce() -> Result<i32, FatalCliError>,
Expand description

Run a fallible CLI closure and convert shared fatal errors into exit codes.