pub fn classify_failure(error_message: &str) -> FailureCategoryExpand description
Classify an error message into a failure category.
Uses the first matching rule from a priority-ordered rule set.
Returns Unknown if no rule matches.
A fast byte-prefix path checks for compiler diagnostic codes
(error[EXXXX]) before invoking the regex engine.