| 136 | super().__init__(f"{message}: {error_message} (Status: {status_code})", ai_studio_status=status_code, error_message=error_message, **kwargs) |
| 137 | |
| 138 | class QuotaExceededError(UpstreamError): |
| 139 | def __init__(self, message: str = "Quota exceeded", retry_after: int = 3600, **kwargs): |
| 140 | super().__init__(message, retry_after=retry_after, **kwargs) |
| 141 | |
| 142 | class EmptyResponseError(UpstreamError): |
| 143 | def __init__(self, message: str = "Received empty response", **kwargs): |
no outgoing calls