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:44class SourceUnavailableError extends DiscordPlayerErrorError 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
| Name | Type | Description |
|---|---|---|
| track | string | Track title or identifier that could not be resolved. |
Properties
codereadonly
Inherited from DiscordPlayerError.code
readonly code: DiscordPlayerErrorCodeStable machine-readable error code.