Skip to main content
Version: v2.10.5

MagmaStreamErrorCode

Represents the error codes in magmastream.

GENERAL_UNKNOWN​

An unknown error occurred.


GENERAL_TIMEOUT​

A timeout occurred.


GENERAL_INVALID_MANAGER​

An invalid manager was provided.


INTENT_MISSING​

The required intent "GuildVoiceStates" is missing.


MANAGER_INIT_FAILED​

Failed to initialize the manager.


MANAGER_INVALID_CONFIG​

The manager configuration is invalid or incomplete.


MANAGER_SHUTDOWN_FAILED​

The manager failed to shut down properly.


MANAGER_NO_NODES​

No Lavalink nodes were configured or available.


MANAGER_NODE_NOT_FOUND​

The requested Lavalink node could not be found.


MANAGER_SEARCH_FAILED​

The track search operation failed.


MANAGER_CLEANUP_INACTIVE_PLAYERS_FAILED​

Failed to clean up inactive players.


NODE_INVALID_CONFIG​

The Lavalink node configuration is invalid or missing required fields.


NODE_CONNECT_FAILED​

Failed to establish a connection to the Lavalink node.


NODE_RECONNECT_FAILED​

Failed to reconnect to the Lavalink node after disconnection.


NODE_DISCONNECTED​

The Lavalink node was unexpectedly disconnected.


NODE_PROTOCOL_ERROR​

A protocol or communication error occurred between the client and Lavalink node.


NODE_SESSION_IDS_LOAD_FAILED​

Failed to load session IDs from persistent storage.


NODE_SESSION_IDS_UPDATE_FAILED​

Failed to update session IDs in persistent storage.


NODE_PLUGIN_ERROR​

A plugin running on the node caused an unexpected error.


PLAYER_INVALID_CONFIG​

The player configuration is invalid or incomplete.


PLAYER_STATE_INVALID​

The player state is corrupted or inconsistent.


PLAYER_QUEUE_EMPTY​

The queue is empty — no tracks to play.


PLAYER_PREVIOUS_EMPTY​

There are no previous tracks to play.


PLAYER_INVALID_NOW_PLAYING_MESSAGE​

Failed to create or send the "Now Playing" message.


PLAYER_INVALID_AUTOPLAY​

Autoplay is not available or failed to initialize.


PLAYER_INVALID_VOLUME​

The provided volume value is invalid or out of range.


PLAYER_INVALID_REPEAT​

The repeat mode provided is invalid.


PLAYER_INVALID_PAUSE​

The pause operation failed or was called in an invalid state.


PLAYER_INVALID_SEEK​

The seek operation failed due to invalid position or track data.


PLAYER_MOVE_FAILED​

Moving a track within the queue failed.


PLAYER_VOICE_RECEIVER_ERROR​

Failed to receive or process voice data from Discord.


QUEUE_REDIS_ERROR​

A Redis-related error occurred while accessing the queue.


QUEUE_JSON_ERROR​

A JSON read/write or parse error occurred while accessing the queue.


QUEUE_MEMORY_ERROR​

An in-memory queue operation failed unexpectedly.


FILTER_APPLY_FAILED​

Failed to apply one or more audio filters.


REST_REQUEST_FAILED​

A REST request to Lavalink or a related service failed.


REST_UNAUTHORIZED​

The REST request was unauthorized or missing valid credentials.


UTILS_TRACK_PARTIAL_INVALID​

A partial track object was invalid or missing required data.


UTILS_TRACK_BUILD_FAILED​

Failed to build a track object from provided data.


UTILS_AUTOPLAY_BUILD_FAILED​

Failed to build or fetch an autoplay track.


UTILS_PLAYER_SERIALIZE_FAILED​

Failed to serialize the player state.


PLUGIN_LOAD_FAILED​

Failed to load a plugin or its dependencies.


PLUGIN_RUNTIME_ERROR​

A plugin threw an error during execution.