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