ValidationError
Defined in: packages/ai.matey.types/src/errors.ts:478
Validation 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”message
Section titled “message”message:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”
readonlyname:"ValidationError"
Defined in: packages/ai.matey.types/src/errors.ts:479
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”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”validationDetails
Section titled “validationDetails”
readonlyvalidationDetails:ValidationErrorDetails[]
Defined in: packages/ai.matey.types/src/errors.ts:480
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>