Skip to content

Errors

ConnectionClosed

Bases: ClientException

Exception raised when the WebSocket connection is closed unexpectedly.


ShardError

Bases: ClientException

Exception raised for individual shard-specific errors.

Attributes:

Name Type Description
shard_id str

The ID of the shard that failed.

code str

The error code for this specific shard failure.

message str

The error message describing what went wrong.