pub fn error_kind_and_code(err: &(dyn Error + 'static)) -> (&'static str, i32)
Map an error to its kind string and exit code.