Skip to main content

classify_error

Function classify_error 

Source
pub fn classify_error(e: &InnateError) -> &'static str
Expand description

Map an InnateError to a bounded, aggregatable error_kind (design doc §5.3.1). The vocabulary is closed so the “error_kind top list” groups cleanly; new failure types must extend this table rather than inventing strings at the call site.