Discord Player

SourceUnavailableError

Error thrown when a Track has no source plugin able to produce a Remedia source.

You are reading the v8 docsDev
ClassTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/errors.ts:44
class SourceUnavailableError extends DiscordPlayerError

Error thrown when a Track has no source plugin able to produce a Remedia source.

Constructors

constructoroverride

constructor(track: string)

Create an unresolved Track source error.

Parameters

NameTypeDescription
trackstring

Track title or identifier that could not be resolved.

Properties

codereadonly

Inherited from DiscordPlayerError.code

readonly code: DiscordPlayerErrorCode

Stable machine-readable error code.

On this page