FluxerFluxer.js
GuidesSDKRESTChangelogExamples

SDK Reference

AttachmentBuilderBaseBitFieldCategoryChannelChannelChannelManagerClientClientClusterClientUserCollectionDMChannelEmbedBuilderFluxerAPIErrorFluxerErrorGuildGuildBanGuildChannelGuildEmojiGuildManagerGuildMemberGuildMemberManagerGuildMemberRoleManagerGuildStickerHTTPErrorInviteLinkChannelLiveKitRtcConnectionMessageMessageCacheMessageCollectorMessageFlagsBitFieldMessageManagerMessagePayloadMessageReactionPackManagerPermissionsBitFieldRateLimitErrorRateLimitManagerReactionCollectorRequestManagerRESTRoleSnowflakeUtilTextChannelUserUserFlagsBitFieldUserManagerVoiceChannelVoiceConnectionVoiceManagerWebhookWebSocketManagerWebSocketShard
SDK/Class/util
Class

FluxerError

Base error for Fluxer SDK failures. Prefer an ErrorCodes value so callers can branch on `error.code`.

Extends Error

Constructor1Properties1Methods2Source

Constructor

new FluxerError(message: string, options?: FluxerErrorOptions)
ParamTypeDescription
messagestring
options?FluxerErrorOptions

Properties

code: string | undefined (readonly)

Methods

isFluxerError(error: unknown): boolean
ParamTypeDescription
errorunknown
toString(): string