Skip to content

@mcsb/api / Exports / RateLimitExceededError

Class: RateLimitExceededError ​

Error that is thrown when RateLimitDeferPolicy hits its maximum requests before the next rate limit reset. This should never happen if nothing else is using up your API limit (i.e., you have no other applications using the same API key).

Hierarchy ​

  • Error

    ↳ RateLimitExceededError

Table of contents ​

Constructors ​

Constructors ​

constructor ​

• new RateLimitExceededError(options?)

Constructor for RateLimitExceededError.

Parameters ​

NameTypeDescription
options?ErrorOptionsError options

Overrides ​

Error.constructor

Defined in ​

packages/api/src/throwables/RateLimitExceededError.ts:11

Released under the MIT License.