Discord Player

AudioPlayerError

An error emitted by an AudioPlayer. Contains an attached resource to aid with debugging and identifying where the error came from.

AudioPlayerError extends Error

An error emitted by an AudioPlayer. Contains an attached resource to aid with debugging and identifying where the error came from.

new AudioPlayerError(error, resource);
ParameterTypeOptional
errorError
resourceAudioResource<unknown>

Properties

public resource: any

The resource associated with the audio player at the time the error was thrown.

On this page