declare class RateLimitError extends Error implements RateLimitData
Constructors
{ timeToReset, limit, method, hash, url, route, majorParameter, global, retryAfter, sublimitTimeout, scope, }: RateLimitData)
constructor({ timeToReset, limit, method, hash, url, route, majorParameter, global, retryAfter, sublimitTimeout, scope, }: RateLimitData
Constructs a new instance of the RateLimitError
class
externalboolean global :
externalstring hash :
externalnumber limit :
externalstring majorParameter :
externalstring method :
readonlyexternalstring name :
The name of the error