blackbull.client.exceptions¶
blackbull.client.exceptions
¶
Exception hierarchy for the protocol-layer client.
All client-side errors derive from ClientError so callers can catch the
whole family with one except clause and still distinguish specific causes.
ClientError
¶
Bases: Exception
Base class for all client-side errors.
ConnectionError
¶
Bases: ClientError
The connection was closed unexpectedly (e.g. server sent GOAWAY).
HandshakeError
¶
Bases: ClientError
A WebSocket or HTTP/2 handshake failed.
ProtocolError
¶
Bases: ClientError
The client refused to send a request that violates the protocol.