Class: ResponseValidationError
@ts-rest/core.ResponseValidationError
Hierarchy
Error
↳
ResponseValidationError
Constructors
constructor
• new ResponseValidationError(cause
)
Parameters
Name | Type |
---|---|
cause | ZodError <any > |
Overrides
Error.constructor
Defined in
libs/ts-rest/core/src/lib/response-validation-error.ts:6
Properties
cause
• cause: ZodError
<any
>
Defined in
libs/ts-rest/core/src/lib/response-validation-error.ts:4
message
• message: string
Inherited from
Error.message
Defined in
node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts:1054
name
• name: string
Inherited from
Error.name
Defined in
node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts:1053
stack
• Optional
stack: string
Inherited from
Error.stack
Defined in
node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts:1055