Skip to main content

exit_code_for

Function exit_code_for 

Source
pub fn exit_code_for(err: &(dyn Error + 'static)) -> i32
Expand description

Exit status for a dispatch error: ZERO_CONTRACTS_EXIT for a refused empty corpus or a declined lint meet, ARMED_GATES_SHRANK_EXIT for a shrunk armed set, 1 for everything else (a parse failure and a rejected meet included).