RateLimitError
Defined in: packages/ai.matey.types/src/errors.ts:467
Rate limit error interface.
Extends
Section titled “Extends”Properties
Section titled “Properties”category
Section titled “category”
readonlycategory:ErrorCategory
Defined in: packages/ai.matey.types/src/errors.ts:435
Inherited from
Section titled “Inherited from”cause?
Section titled “cause?”
readonlyoptionalcause:Error
Defined in: packages/ai.matey.types/src/errors.ts:438
Inherited from
Section titled “Inherited from”
readonlycode:ErrorCode
Defined in: packages/ai.matey.types/src/errors.ts:434
Inherited from
Section titled “Inherited from”details?
Section titled “details?”
readonlyoptionaldetails:Record<string,unknown>
Defined in: packages/ai.matey.types/src/errors.ts:443
Inherited from
Section titled “Inherited from”irState?
Section titled “irState?”
readonlyoptionalirState:object
Defined in: packages/ai.matey.types/src/errors.ts:439
request?
Section titled “request?”
readonlyoptionalrequest:Partial<IRChatRequest>
response?
Section titled “response?”
readonlyoptionalresponse:Partial<IRChatResponse>
Inherited from
Section titled “Inherited from”isRetryable
Section titled “isRetryable”
readonlyisRetryable:boolean
Defined in: packages/ai.matey.types/src/errors.ts:436
Inherited from
Section titled “Inherited from”limit?
Section titled “limit?”
readonlyoptionallimit:number
Defined in: packages/ai.matey.types/src/errors.ts:470
message
Section titled “message”message:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”
readonlyname:"RateLimitError"
Defined in: packages/ai.matey.types/src/errors.ts:468
Overrides
Section titled “Overrides”provenance
Section titled “provenance”
readonlyprovenance:ErrorProvenance
Defined in: packages/ai.matey.types/src/errors.ts:437
Inherited from
Section titled “Inherited from”remaining?
Section titled “remaining?”
readonlyoptionalremaining:number
Defined in: packages/ai.matey.types/src/errors.ts:471
resetAt?
Section titled “resetAt?”
readonlyoptionalresetAt:string
Defined in: packages/ai.matey.types/src/errors.ts:472
retryAfter?
Section titled “retryAfter?”
readonlyoptionalretryAfter:number
Defined in: packages/ai.matey.types/src/errors.ts:469
stack?
Section titled “stack?”
optionalstack:string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”timestamp
Section titled “timestamp”
readonlytimestamp:number
Defined in: packages/ai.matey.types/src/errors.ts:444
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”isCategory()
Section titled “isCategory()”isCategory(
category):boolean
Defined in: packages/ai.matey.types/src/errors.ts:446
Parameters
Section titled “Parameters”category
Section titled “category”Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”toJSON()
Section titled “toJSON()”toJSON():
Record<string,unknown>
Defined in: packages/ai.matey.types/src/errors.ts:447
Returns
Section titled “Returns”Record<string, unknown>