Skip to main content

run

Function run 

Source
pub fn run(f: impl FnOnce() -> Result<()>)
Expand description

Runs f and, on error, prints the report in bold red to stderr then exits with code 1.