pub fn exit_code_for(code: &str) -> Option<i32>Expand description
Returns the bespoke exit code for code, or None if the code
has no bespoke entry (the caller should use EXIT_GENERIC).
Linear-scan lookup over crate::errors::ALL. Fine for ~50
entries and avoids dragging in a HashMap. The failure path is not
hot.