classify_sdk_error

Function classify_sdk_error 

Source
pub fn classify_sdk_error<E, R>(err: &SdkError<E, R>) -> &'static str
Expand description

Classify an [SdkError] into a stable, low-cardinality kind tag.

DispatchFailure is split by its underlying ConnectorError kind so log aggregators can distinguish a dispatch_timeout (likely runtime starvation or a slow upstream) from a dispatch_io (connection reset, pool exhaustion) without parsing free-form strings.