Exceptions API Reference

exception lavaplay.exceptions.NodeError(message: str, guild_id: int)[source]

A error for node.

Parameters

message: str

the error message

guild_id: int

the guild id

property message

A error message.

property guild_id

A guild id.

exception lavaplay.exceptions.FiltersError(message: str)[source]

A error for all filters.

Parameters

message: str

the error message

property message

A error message.

exception lavaplay.exceptions.VolumeError(message: str, guild_id)[source]

A error for volume range if not in 0 to 1000.

Parameters

message: str

the error message

guild_id: int

the guild id

property message

A error message.

property guild_id

A guild id.

exception lavaplay.exceptions.NotConnectedError(message: str)[source]

A error for not connected.

Parameters

message: str

the error message

property message

A error message.

exception lavaplay.exceptions.ConnectedError(message: str)[source]

A error for connected.

property message

A error message.

exception lavaplay.exceptions.TrackLoadFailed(message: str, severity: str)[source]

A error for track load failed.

Parameters

message: str

the error message

severity: str

gets the severity level of the track loading failure

property message

A error message.

property severity

A severity level. Can be one of: 'CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG'.

exception lavaplay.exceptions.requestFailed(timestamp: int, status: int, error: str, message: str, path: str, trace: Optional[bool] = None)[source]

A error for request failed.

Parameters

timestamp: int

The timestamp of the error in milliseconds since the Unix epoch

status: int

The HTTP status code

error: str

The HTTP status code message

message: str

The error message

path: str

The request path

trace: bool

The stack trace of the error when trace=true as query param has been sent

property timestamp

The timestamp of the error in milliseconds since the Unix epoch

property status

The HTTP status code

property error

The HTTP status code message

property message

The error message

property path

The request path

property trace

The stack trace of the error when trace=true as query param has been sent