LavalinkException class

An exception thrown when a Lavalink API call returns an error.

Implemented types

Constructors

LavalinkException({required DateTime timestamp, required int status, required String error, required String? trace, required String message, required String path})
Create a new LavalinkException.

Properties

error String
The name of the error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A description of the error.
final
path String
The endpoint in which the error occurred.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
The HTTP status code of the response.
final
timestamp DateTime
The time at which the error occurred.
final
trace String?
The stack trace at which the error occurred in the Lavalink server.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited