MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / ClientDisconnectedError

Class ClientDisconnectedError

models/exceptions.py:85–92  ·  view source on GitHub ↗

Client disconnected exception (kept simple for backward compatibility but with extra fields).

Source from the content-addressed store, hash-verified

83
84# Client Errors
85class 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
95class ValidationError(AIStudioProxyError):

Calls

no outgoing calls