TrackExceptionEvent class

An event sent when an exception is encountered while playing a track.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

TrackExceptionEvent({required LavalinkClient client, required String opType, required String type, required String guildId, required Track track, required ExceptionInfo exception})
Create a new TrackExceptionEvent.
TrackExceptionEvent.fromJson(Map<String, Object?> json)
factory

Properties

client LavalinkClient
The client this message was for.
finalinherited
exception ExceptionInfo
Information about the exception.
final
guildId String
The ID of the guild this event occurred in.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
opType String
The type of this message.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
track Track
The track that was playing.
final
type String
The type of this event.
finalinherited

Methods

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

Operators

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