Preview environment

enum DiscordjsErrorCodes

export enum DiscordjsErrorCodes

Members

ApplicationCommandPermissionsTokenMissing = 'ApplicationCommandPermissionsTokenMissing'

AutocompleteInteractionOptionNoFocusedOption = 'AutocompleteInteractionOptionNoFocusedOption'

BanResolveId = 'BanResolveId'

BitFieldInvalid = 'BitFieldInvalid'

BulkBanUsersOptionEmpty = 'BulkBanUsersOptionEmpty'

deprecated
ButtonCustomId = 'ButtonCustomId'

deprecated
ButtonLabel = 'ButtonLabel'

deprecated
ButtonURL = 'ButtonURL'

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'

deprecated
DisallowedIntents = 'DisallowedIntents'

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'

deprecated
ImageFormat = 'ImageFormat'

deprecated
ImageSize = 'ImageSize'

InteractionAlreadyReplied = 'InteractionAlreadyReplied'

InteractionCollectorError = 'InteractionCollectorError'

deprecated
InteractionEphemeralReplied = 'InteractionEphemeralReplied'

InteractionNotReplied = 'InteractionNotReplied'

InvalidElement = 'InvalidElement'

deprecated
InvalidIntents = 'InvalidIntents'

InvalidMissingScopes = 'InvalidMissingScopes'

InvalidScopesWithPermissions = 'InvalidScopesWithPermissions'

InvalidType = 'InvalidType'

InviteNotFound = 'InviteNotFound'

InviteOptionsMissingChannel = 'InviteOptionsMissingChannel'

InviteResolveCode = 'InviteResolveCode'

deprecated
ManagerDestroyed = 'ManagerDestroyed'

MemberFetchNonceLength = 'MemberFetchNonceLength'

MessageBulkDeleteType = 'MessageBulkDeleteType'

MessageContentType = 'MessageContentType'

MessageExistingThread = 'MessageExistingThread'

MessageNonceRequired = 'MessageNonceRequired'

MessageNonceType = 'MessageNonceType'

MessageReferenceMissing = 'MessageReferenceMissing'

MessageThreadParent = 'MessageThreadParent'

deprecated
MissingManageEmojisAndStickersPermission = 'MissingManageEmojisAndStickersPermission'

MissingManageGuildExpressionsPermission = 'MissingManageGuildExpressionsPermission'

ModalSubmitInteractionFieldNotFound = 'ModalSubmitInteractionFieldNotFound'

ModalSubmitInteractionFieldType = 'ModalSubmitInteractionFieldType'

NotGuildSticker = 'NotGuildSticker'

NotImplemented = 'NotImplemented'

PollAlreadyExpired = 'PollAlreadyExpired'

PruneDaysType = 'PruneDaysType'

ReactionResolveUser = 'ReactionResolveUser'

ReqResourceType = 'ReqResourceType'

deprecated
SelectMenuCustomId = 'SelectMenuCustomId'

deprecated
SelectMenuPlaceholder = 'SelectMenuPlaceholder'

deprecated
SelectOptionDescription = 'SelectOptionDescription'

deprecated
SelectOptionLabel = 'SelectOptionLabel'

deprecated
SelectOptionValue = 'SelectOptionValue'

ShardingAlreadySpawned = 'ShardingAlreadySpawned'

ShardingInProcess = 'ShardingInProcess'

deprecated
ShardingInvalid = 'ShardingInvalid'

ShardingInvalidEvalBroadcast = 'ShardingInvalidEvalBroadcast'

ShardingNoChildExists = 'ShardingNoChildExists'

ShardingNoShards = 'ShardingNoShards'

ShardingProcessExists = 'ShardingProcessExists'

ShardingReadyDied = 'ShardingReadyDied'

ShardingReadyDisconnected = 'ShardingReadyDisconnected'

ShardingReadyTimeout = 'ShardingReadyTimeout'

deprecated
ShardingRequired = 'ShardingRequired'

ShardingShardMiscalculation = 'ShardingShardMiscalculation'

ShardingShardNotFound = 'ShardingShardNotFound'

ShardingWorkerExists = 'ShardingWorkerExists'

deprecated
SplitMaxLen = 'SplitMaxLen'

StageChannelResolve = 'StageChannelResolve'

SweepFilterReturn = 'SweepFilterReturn'

ThreadInvitableType = 'ThreadInvitableType'

TokenInvalid = 'TokenInvalid'

TokenMissing = 'TokenMissing'

deprecated
UserBannerNotFetched = 'UserBannerNotFetched'

UserNoDMChannel = 'UserNoDMChannel'

deprecated
VanityURL = 'VanityURL'

VoiceNotStageChannel = 'VoiceNotStageChannel'

VoiceStateInvalidType = 'VoiceStateInvalidType'

VoiceStateNotOwn = 'VoiceStateNotOwn'

WebhookApplication = 'WebhookApplication'

WebhookMessage = 'WebhookMessage'

WebhookTokenUnavailable = 'WebhookTokenUnavailable'

WebhookURLInvalid = 'WebhookURLInvalid'

deprecated
WSCloseRequested = 'WSCloseRequested'

deprecated
WSConnectionExists = 'WSConnectionExists'

deprecated
WSNotOpen = 'WSNotOpen'