RateLimitError
classe · Source
Represents a RateLimit error from a request.
Extends: Error
Properties
name
name: string
The name of the error Source
timeout
timeout: number
Time until this rate limit ends, in milliseconds Source
method
method: string
The HTTP method used for the request Source
path
path: string
The path of the request relative to the HTTP endpoint Source
route
route: string
The route of the request relative to the HTTP endpoint Source
global
global: boolean
Whether this rate limit is global Source
limit
limit: number
The maximum amount of requests of this endpoint Source