pub fn exit_code_for_error(err: &(dyn Error + 'static)) -> i32
Maps an error chain to the framework’s process-style exit code.