Exceptions

exception pomice.exceptions.AppleMusicNotEnabled[source]

Bases: PomiceException

An Apple Music Link was passed in when Apple Music functionality was not enabled.

exception pomice.exceptions.FilterInvalidArgument[source]

Bases: PomiceException

An invalid argument was passed to a filter.

exception pomice.exceptions.FilterTagAlreadyInUse[source]

Bases: PomiceException

A filter with a tag is already in use by another filter

exception pomice.exceptions.FilterTagInvalid[source]

Bases: PomiceException

An invalid tag was passed or Pomice was unable to find a filter tag

exception pomice.exceptions.InvalidSpotifyClientAuthorization[source]

Bases: PomiceException

No Spotify client authorization was provided for track searching.

exception pomice.exceptions.LavalinkVersionIncompatible[source]

Bases: PomiceException

Lavalink version is incompatible. Must be using Lavalink > 3.7.0 to avoid this error.

exception pomice.exceptions.NoNodesAvailable[source]

Bases: PomiceException

There are no nodes currently available.

exception pomice.exceptions.NodeConnectionClosed[source]

Bases: NodeException

The node’s connection is closed.

exception pomice.exceptions.NodeConnectionFailure[source]

Bases: NodeException

There was a problem while connecting to the node.

exception pomice.exceptions.NodeCreationError[source]

Bases: NodeException

There was a problem while creating the node.

exception pomice.exceptions.NodeException[source]

Bases: Exception

Base exception for nodes.

exception pomice.exceptions.NodeNotAvailable[source]

Bases: PomiceException

The node is currently unavailable.

exception pomice.exceptions.NodeRestException[source]

Bases: NodeException

A request made using the node’s REST uri failed

exception pomice.exceptions.PomiceException[source]

Bases: Exception

Base of all Pomice exceptions.

exception pomice.exceptions.QueueEmpty[source]

Bases: QueueException

Exception raised when attempting to retrieve from an empty Queue.

exception pomice.exceptions.QueueException[source]

Bases: Exception

Base Pomice queue exception.

exception pomice.exceptions.QueueFull[source]

Bases: QueueException

Exception raised when attempting to add to a full Queue.

exception pomice.exceptions.TrackInvalidPosition[source]

Bases: PomiceException

An invalid position was chosen for a track.

exception pomice.exceptions.TrackLoadError[source]

Bases: PomiceException

There was an error while loading a track.