pub fn classify_error_code(error_code: Option<&str>) -> Option<ErrorGroup>Expand description
Returns the catalogue group for an API error code.
Matching is case-insensitive and trims surrounding whitespace, matching how the transport
extracts meta.error. Ported from classify_error_code (errors.py:216-234).
Returns None when error_code is None, empty, or not present in the catalogue (for
example a free-text sentence, or an error string this crate does not yet recognise).