Class in Errors · JavaScript & TypeScript
Discovery HTTP or the gateway imposed a connection rate limit
When retry is available, wait at least that duration before another manual attempt
class RateLimitError extends FluxerlyErrorclass RateLimitError
extends FluxerlyErrorConstructor#
new RateLimitError(
source: "gateway" | "http",
retryAfterMs: number | null
): RateLimitErrornew RateLimitError(
source: "gateway" | "http",
retryAfterMs: number | null
): RateLimitErrorParameters
source-
Whether discovery HTTP or the gateway imposed the limit
"gateway" | "http" retryAfter Ms -
Server-required wait in milliseconds, or null when no usable duration was supplied
number | null
Properties#
_tag#
Discriminator for identifying a connection rate limit
readonly _tag: "RateLimitError"retryAfterMs #
Server-required wait in milliseconds, or null when no usable duration was supplied
readonly retryAfterMs: number | nullreadonly retryAfterMs:
| number | nullsource#
Whether discovery HTTP or the gateway imposed the limit
readonly source: "gateway" | "http"Inherited#
Inherited from Fluxerly: code, details, hint, to