Client disconnected exception (kept simple for backward compatibility but with extra fields).
| 83 | |
| 84 | # Client Errors |
| 85 | class ClientDisconnectedError(Exception): |
| 86 | """Client disconnected exception (kept simple for backward compatibility but with extra fields).""" |
| 87 | def __init__(self, message: str = "Client disconnected", stage: str = "", req_id: Optional[str] = None, http_status: int = 499): |
| 88 | self.message = message |
| 89 | self.stage = stage |
| 90 | self.req_id = req_id |
| 91 | self.http_status = http_status |
| 92 | super().__init__(message) |
| 93 | |
| 94 | # Validation Errors |
| 95 | class ValidationError(AIStudioProxyError): |
no outgoing calls