Enumeration DiscordjsErrorCodes

Enumeration Members

ApplicationCommandPermissionsTokenMissing AutocompleteInteractionOptionNoFocusedOption BanResolveId BitFieldInvalid BulkBanUsersOptionEmpty ButtonCustomId ButtonLabel ButtonURL ChannelNotCached ClientInvalidOption ClientInvalidProvidedShards ClientMissingIntents ClientNotReady ColorConvert ColorRange CommandInteractionOptionEmpty CommandInteractionOptionNoSubcommand CommandInteractionOptionNoSubcommandGroup CommandInteractionOptionNotFound CommandInteractionOptionType DeleteGroupDMChannel DisallowedIntents EmojiManaged EmojiType EntitlementCreateInvalidOwner FetchBanResolveId FetchGroupDMChannel FetchOwnerId FileNotFound GlobalCommandPermissions GuildChannelOrphan GuildChannelResolve GuildChannelUnowned GuildForumMessageRequired GuildMembersTimeout GuildOwned GuildScheduledEventResolve GuildUncachedEntityResolve GuildUncachedMe GuildVoiceChannelResolve ImageFormat ImageSize InteractionAlreadyReplied InteractionCollectorError InteractionEphemeralReplied InteractionNotReplied InvalidElement InvalidIntents InvalidMissingScopes InvalidScopesWithPermissions InvalidType InviteNotFound InviteOptionsMissingChannel InviteResolveCode ManagerDestroyed MemberFetchNonceLength MessageBulkDeleteType MessageContentType MessageExistingThread MessageNonceRequired MessageNonceType MessageReferenceMissing MessageThreadParent MissingManageEmojisAndStickersPermission MissingManageGuildExpressionsPermission ModalSubmitInteractionFieldNotFound ModalSubmitInteractionFieldType NotGuildSticker NotImplemented PollAlreadyExpired PruneDaysType ReactionResolveUser ReqResourceType SelectMenuCustomId SelectMenuPlaceholder SelectOptionDescription SelectOptionLabel SelectOptionValue ShardingAlreadySpawned ShardingInProcess ShardingInvalid ShardingInvalidEvalBroadcast ShardingNoChildExists ShardingNoShards ShardingProcessExists ShardingReadyDied ShardingReadyDisconnected ShardingReadyTimeout ShardingRequired ShardingShardMiscalculation ShardingShardNotFound ShardingWorkerExists SplitMaxLen StageChannelResolve SweepFilterReturn ThreadInvitableType TokenInvalid TokenMissing UserBannerNotFetched UserNoDMChannel VanityURL VoiceNotStageChannel VoiceStateInvalidType VoiceStateNotOwn WSCloseRequested WSConnectionExists WSNotOpen WebhookApplication WebhookMessage WebhookTokenUnavailable WebhookURLInvalid

Enumeration Members

ApplicationCommandPermissionsTokenMissing: "ApplicationCommandPermissionsTokenMissing"
AutocompleteInteractionOptionNoFocusedOption: "AutocompleteInteractionOptionNoFocusedOption"
BanResolveId: "BanResolveId"
BitFieldInvalid: "BitFieldInvalid"
BulkBanUsersOptionEmpty: "BulkBanUsersOptionEmpty"
ButtonCustomId: "ButtonCustomId"

Deprecated

Button validation errors are now handled in @discordjs/builders

ButtonLabel: "ButtonLabel"

Deprecated

Button validation errors are now handled in @discordjs/builders

ButtonURL: "ButtonURL"

Deprecated

Button validation errors are now handled in @discordjs/builders

ChannelNotCached: "ChannelNotCached"
ClientInvalidOption: "ClientInvalidOption"
ClientInvalidProvidedShards: "ClientInvalidProvidedShards"
ClientMissingIntents: "ClientMissingIntents"
ClientNotReady: "ClientNotReady"
ColorConvert: "ColorConvert"
ColorRange: "ColorRange"
CommandInteractionOptionEmpty: "CommandInteractionOptionEmpty"
CommandInteractionOptionNoSubcommand: "CommandInteractionOptionNoSubcommand"
CommandInteractionOptionNoSubcommandGroup: "CommandInteractionOptionNoSubcommandGroup"
CommandInteractionOptionNotFound: "CommandInteractionOptionNotFound"
CommandInteractionOptionType: "CommandInteractionOptionType"
DeleteGroupDMChannel: "DeleteGroupDMChannel"
DisallowedIntents: "DisallowedIntents"

Deprecated

This error is now handled in @discordjs/ws

EmojiManaged: "EmojiManaged"
EmojiType: "EmojiType"
EntitlementCreateInvalidOwner: "EntitlementCreateInvalidOwner"
FetchBanResolveId: "FetchBanResolveId"
FetchGroupDMChannel: "FetchGroupDMChannel"
FetchOwnerId: "FetchOwnerId"
FileNotFound: "FileNotFound"
GlobalCommandPermissions: "GlobalCommandPermissions"
GuildChannelOrphan: "GuildChannelOrphan"
GuildChannelResolve: "GuildChannelResolve"
GuildChannelUnowned: "GuildChannelUnowned"
GuildForumMessageRequired: "GuildForumMessageRequired"
GuildMembersTimeout: "GuildMembersTimeout"
GuildOwned: "GuildOwned"
GuildScheduledEventResolve: "GuildScheduledEventResolve"
GuildUncachedEntityResolve: "GuildUncachedEntityResolve"
GuildUncachedMe: "GuildUncachedMe"
GuildVoiceChannelResolve: "GuildVoiceChannelResolve"
ImageFormat: "ImageFormat"

Deprecated

This error is now handled in @discordjs/rest

ImageSize: "ImageSize"

Deprecated

This error is now handled in @discordjs/rest

InteractionAlreadyReplied: "InteractionAlreadyReplied"
InteractionCollectorError: "InteractionCollectorError"
InteractionEphemeralReplied: "InteractionEphemeralReplied"

Deprecated

Not used anymore since ephemeral replies can now be deleted

InteractionNotReplied: "InteractionNotReplied"
InvalidElement: "InvalidElement"
InvalidIntents: "InvalidIntents"

Deprecated

This error is now handled in @discordjs/ws

InvalidMissingScopes: "InvalidMissingScopes"
InvalidScopesWithPermissions: "InvalidScopesWithPermissions"
InvalidType: "InvalidType"
InviteNotFound: "InviteNotFound"
InviteOptionsMissingChannel: "InviteOptionsMissingChannel"
InviteResolveCode: "InviteResolveCode"
ManagerDestroyed: "ManagerDestroyed"

Deprecated

No longer in use

MemberFetchNonceLength: "MemberFetchNonceLength"
MessageBulkDeleteType: "MessageBulkDeleteType"
MessageContentType: "MessageContentType"
MessageExistingThread: "MessageExistingThread"
MessageNonceRequired: "MessageNonceRequired"
MessageNonceType: "MessageNonceType"
MessageReferenceMissing: "MessageReferenceMissing"
MessageThreadParent: "MessageThreadParent"
MissingManageEmojisAndStickersPermission: "MissingManageEmojisAndStickersPermission"
MissingManageGuildExpressionsPermission: "MissingManageGuildExpressionsPermission"
ModalSubmitInteractionFieldNotFound: "ModalSubmitInteractionFieldNotFound"
ModalSubmitInteractionFieldType: "ModalSubmitInteractionFieldType"
NotGuildSticker: "NotGuildSticker"
NotImplemented: "NotImplemented"
PollAlreadyExpired: "PollAlreadyExpired"
PruneDaysType: "PruneDaysType"
ReactionResolveUser: "ReactionResolveUser"
ReqResourceType: "ReqResourceType"
SelectMenuCustomId: "SelectMenuCustomId"

Deprecated

Select Menu validation errors are now handled in @discordjs/builders

SelectMenuPlaceholder: "SelectMenuPlaceholder"

Deprecated

Select Menu validation errors are now handled in @discordjs/builders

SelectOptionDescription: "SelectOptionDescription"

Deprecated

Select Menu validation errors are now handled in @discordjs/builders

SelectOptionLabel: "SelectOptionLabel"

Deprecated

Select Menu validation errors are now handled in @discordjs/builders

SelectOptionValue: "SelectOptionValue"

Deprecated

Select Menu validation errors are now handled in @discordjs/builders

ShardingAlreadySpawned: "ShardingAlreadySpawned"
ShardingInProcess: "ShardingInProcess"
ShardingInvalid: "ShardingInvalid"

Deprecated

This error is now handled in @discordjs/ws

ShardingInvalidEvalBroadcast: "ShardingInvalidEvalBroadcast"
ShardingNoChildExists: "ShardingNoChildExists"
ShardingNoShards: "ShardingNoShards"
ShardingProcessExists: "ShardingProcessExists"
ShardingReadyDied: "ShardingReadyDied"
ShardingReadyDisconnected: "ShardingReadyDisconnected"
ShardingReadyTimeout: "ShardingReadyTimeout"
ShardingRequired: "ShardingRequired"

Deprecated

This error is now handled in @discordjs/ws

ShardingShardMiscalculation: "ShardingShardMiscalculation"
ShardingShardNotFound: "ShardingShardNotFound"
ShardingWorkerExists: "ShardingWorkerExists"
SplitMaxLen: "SplitMaxLen"

Deprecated

No longer in use

StageChannelResolve: "StageChannelResolve"
SweepFilterReturn: "SweepFilterReturn"
ThreadInvitableType: "ThreadInvitableType"
TokenInvalid: "TokenInvalid"
TokenMissing: "TokenMissing"
UserBannerNotFetched: "UserBannerNotFetched"

Deprecated

No longer in use

UserNoDMChannel: "UserNoDMChannel"
VanityURL: "VanityURL"

Deprecated

Not used anymore since the introduction of GUILD_WEB_PAGE_VANITY_URL feature

VoiceNotStageChannel: "VoiceNotStageChannel"
VoiceStateInvalidType: "VoiceStateInvalidType"
VoiceStateNotOwn: "VoiceStateNotOwn"
WSCloseRequested: "WSCloseRequested"

Deprecated

WebSocket errors are now handled in @discordjs/ws

WSConnectionExists: "WSConnectionExists"

Deprecated

WebSocket errors are now handled in @discordjs/ws

WSNotOpen: "WSNotOpen"

Deprecated

WebSocket errors are now handled in @discordjs/ws

WebhookApplication: "WebhookApplication"
WebhookMessage: "WebhookMessage"
WebhookTokenUnavailable: "WebhookTokenUnavailable"
WebhookURLInvalid: "WebhookURLInvalid"

Generated using TypeDoc