pub fn classify_error(err: &Error) -> (bool, bool, u64)Expand description
Classifies transient errors into retry categories. Returns (is_transient, needs_reconnect, extra_delay_ms)
Checks Postgres SQLSTATE codes and MySQL error codes first, then falls back to string matching for errors that don’t carry structured codes (e.g. IO, cloud credential errors).