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.
Parameter | Type | Optional |
---|---|---|
error | Error | ❌ |
resource | AudioResource<unknown> | ❌ |
Properties
public resource: any
The resource associated with the audio player at the time the error was thrown.