Class DiscordjsRangeError

Hierarchy

  • RangeError
    • DiscordjsRangeError

Constructors

Properties

cause?: unknown
message: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

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

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc