Class: RateLimitError¶
Defined in: core/src/errors/registry.ts:99
Rate limit exceeded when contacting registry.
Extends¶
Constructors¶
Constructor¶
new RateLimitError(
url,retryAfterMinutes?,location?):RateLimitError
Defined in: core/src/errors/registry.ts:102
Parameters¶
url¶
string
retryAfterMinutes?¶
number
location?¶
Returns¶
RateLimitError
Overrides¶
Properties¶
cause?¶
readonlyoptionalcause:Error
Defined in: core/src/errors/base.ts:52
Original error if wrapping another error
Inherited from¶
code¶
readonlycode:string
Defined in: core/src/errors/base.ts:48
Error code
Inherited from¶
location?¶
readonlyoptionallocation:SourceLocation
Defined in: core/src/errors/base.ts:50
Source location where error occurred
Inherited from¶
retryAfterMinutes?¶
readonlyoptionalretryAfterMinutes:number
Defined in: core/src/errors/registry.ts:100
Methods¶
format()¶
format():
string
Defined in: core/src/errors/base.ts:75
Format error for display.
Returns¶
string
Inherited from¶
toJSON()¶
toJSON():
Record\<string,unknown>
Defined in: core/src/errors/base.ts:88
Convert to JSON-serializable object.
Returns¶
Record\<string, unknown>