RateLimitError
declare class RateLimitError extends Error implements RateLimitData declare class RateLimitError extends Error implements RateLimitData No summary provided.
Extends
ErrorImplements
RateLimitDataconstructor({ timeToReset, limit, method, hash, url, route, majorParameter, global })
Constructs a new instance of the
RateLimitError class| Name | Type | Optional | Description |
|---|---|---|---|
| { timeToReset, limit, method, hash, url, route, majorParameter, global } | RateLimitData | No | None |
global
:
boolean
hash
:
string
limit
:
number
majorParameter
:
string
method
:
string
Readonly
name
:
string
The name of the error