Expand description
Error types for the BotRS library.
This module defines all the error types that can occur when using the BotRS framework.
Structs§
Enums§
- BotError
- The main error type for BotRS operations.
Constants§
- CODE_
CONN_ CLOSE_ CANT_ IDENTIFY - CODE_
CONN_ CLOSE_ CANT_ RESUME - CODE_
INVALID_ SESSION - WS_
CODE_ BACKEND_ ALREADY_ AUTHENTICATE - WS_
CODE_ BACKEND_ AUTHENTICATION_ FAIL - WS_
CODE_ BACKEND_ BOT_ BANNED - WS_
CODE_ BACKEND_ BOT_ OFFLINE - WS_
CODE_ BACKEND_ DECODE_ ERROR - WS_
CODE_ BACKEND_ DISALLOWED_ INTENTS - WS_
CODE_ BACKEND_ INVALID_ API_ VERSION - WS_
CODE_ BACKEND_ INVALID_ INTENTS - WS_
CODE_ BACKEND_ INVALID_ SEQ - WS_
CODE_ BACKEND_ INVALID_ SHARD - WS_
CODE_ BACKEND_ NOT_ AUTHENTICATE - WS_
CODE_ BACKEND_ RATE_ LIMIT - WS_
CODE_ BACKEND_ SESSION_ NO_ LONGER_ VALID - WS_
CODE_ BACKEND_ SESSION_ TIMEOUT - WS_
CODE_ BACKEND_ SHARDING_ REQUIRED - WS_
CODE_ BACKEND_ UNKNOWN_ ERROR - WS_
CODE_ BACKEND_ UNKNOWN_ OP_ CODE
Traits§
- Into
BotError - Extension trait for converting generic errors to BotError.
Type Aliases§
- Result
- A specialized Result type for BotRS operations.