Module twilight_gateway::error
source · Expand description
Errors returned by gateway operations.
Structs§
- Sending a command over a channel failed.
- CompressionError
zlib-stock
orzlib-simd
An operation relating to compression failed. - Receiving the next Websocket message failed.
- StartRecommendedError
twilight-http
Failure when fetching the recommended number of shards to use from Discord’s REST API.
Enums§
- Type of
ChannelError
that occurred. - CompressionErrorType
zlib-stock
orzlib-simd
Type ofCompressionError
that occurred. - Type of
ReceiveMessageError
that occurred. - StartRecommendedErrorType
twilight-http
Type ofStartRecommendedError
that occurred.