class AudioPlayerError
extends
Errorexport declare class AudioPlayerError extends ErrorAn error emitted by an AudioPlayer. Contains an attached resource to aid with debugging and identifying where the error came from.
Constructors
constructor(error: Errorresource: AudioResource)
error: Error
resource: AudioResource
Constructs a new instance of the AudioPlayerError class
readonlyresource : AudioResource
The resource associated with the audio player at the time the error was thrown.