pub fn exit_code(code: Option<&str>) -> u8
The exit code of an error with code: its class’s, 1 without one.
code