Skip to main content

outcome_exit_code

Function outcome_exit_code 

Source
pub fn outcome_exit_code(outcome: &HarnessRunOutcome) -> i32
Expand description

The exit code a run’s outcome maps to. Mirrors TS print mode: error/aborted ⇒ exit 1; everything else ⇒ 0.