pub fn database_error_kind(error: &DbErr) -> Option<DatabaseErrorKind>Expand description
Classifies driver-native database errors without relying on localized messages.
pub fn database_error_kind(error: &DbErr) -> Option<DatabaseErrorKind>Classifies driver-native database errors without relying on localized messages.