Skip to main content

default_classify_error

Function default_classify_error 

Source
pub fn default_classify_error(err: &Error) -> ErrorClass
Expand description

Default error classifier shared by every adapter. Kept as a free function (not an inherent method) so unit tests don’t need to construct a concrete adapter to exercise it.