(self, message: str = "missing API key")
| 123 | class AuthError(ApiError): |
| 124 | """认证错误(API Key 无效或缺失)""" |
| 125 | def __init__(self, message: str = "missing API key"): |
| 126 | super().__init__(message) |
| 127 | |
| 128 | def is_retryable(self) -> bool: |
| 129 | # 认证错误重试没用,必须修复配置 |