RateLimitError
export declare class RateLimitError extends Error implements RateLimitData
export 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
className | 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