Expand description
错误分类逻辑:将 HTTP 状态码和提供商错误映射到 V2 标准错误码。
Error classification logic.
Functions§
- classify_
error_ from_ response - Classify an error from HTTP status and optional response body.
- classify_
to_ standard_ code - Maps an error class name string to the corresponding AI-Protocol V2 standard error code.