Errors and Warnings#
Errors#
- exception mafic.MaficException#
Bases:
Exception
The base exception class for custom exceptions raised by Mafic.
- exception mafic.LibraryCompatibilityError#
Bases:
MaficException
An issue occured when trying to find a compatible library.
- exception mafic.NoCompatibleLibraries#
Bases:
LibraryCompatibilityError
No compatible library was found.
- exception mafic.MultipleCompatibleLibraries(libraries)#
Bases:
LibraryCompatibilityError
Multiple compatible libraries were found.
Mafic makes no attempt to assume which library you are using.
- exception mafic.PlayerException#
Bases:
MaficException
An issue occured when trying to play a track.
- exception mafic.TrackLoadException(*, message, severity, cause)#
Bases:
PlayerException
An error raised when a track could not be loaded.
- exception mafic.PlayerNotConnected#
Bases:
PlayerException
An error raised when a player is not connected to a voice channel.
- exception mafic.NoNodesAvailable#
Bases:
MaficException
An error raised when no nodes are available to handle a player.
- exception mafic.NodeAlreadyConnected#
Bases:
MaficException
An error raised when a node is already connected to Mafic.
- exception mafic.HTTPException(status, message)#
Bases:
MaficException
An issue occured when trying to make a request to the Lavalink REST API.
- exception mafic.HTTPBadRequest(message)#
Bases:
HTTPException
An error raised when a bad request is made to the Lavalink REST API.
- exception mafic.HTTPUnauthorized(message)#
Bases:
HTTPException
An error raised when an unauthorized request is made to the Lavalink REST API.
- exception mafic.HTTPNotFound(message)#
Bases:
HTTPException
An error raised when a request is made to a non-existent endpoint.
Warnings#
- class mafic.UnsupportedVersionWarning#
Bases:
UserWarning
Represents a warning for an unsupported version of Lavalink.