@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
Name | Type | Description |
---|---|---|
options? | ErrorOptions | Error options |
Overrides
Error.constructor