RateLimitError

export declare class RateLimitError extends Error implements RateLimitData
export declare class RateLimitError extends Error implements RateLimitData

No summary provided.

Extends

Error

Implements

RateLimitData
constructor({ timeToReset, limit, method, hash, url, route, majorParameter, global, retryAfter, sublimitTimeout, scope, })
Constructs a new instance of the RateLimitError class
NameTypeOptionalDescription
{ timeToReset, limit, method, hash, url, route, majorParameter, global, retryAfter, sublimitTimeout, scope, }RateLimitDataNoNone
global:boolean
hash:string
limit:number
majorParameter:string
method:string
Readonly
name:string
The name of the error
retryAfter:number
route:string
scope:RateLimitData['scope']
sublimitTimeout:number
timeToReset:number
url:string