Class: ResponseValidationError
@ts-rest/core.ResponseValidationError
Hierarchy
Error↳
ResponseValidationError
Constructors
constructor
• new ResponseValidationError(appRoute, cause)
Parameters
| Name | Type |
|---|---|
appRoute | AppRoute |
cause | ZodError<any> |
Overrides
Error.constructor
Defined in
libs/ts-rest/core/src/lib/response-validation-error.ts:5
Properties
appRoute
• appRoute: AppRoute
Defined in
libs/ts-rest/core/src/lib/response-validation-error.ts:6
cause
• cause: ZodError<any>
Defined in
libs/ts-rest/core/src/lib/response-validation-error.ts:7
message
• message: string
Inherited from
Error.message
Defined in
node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1068
name
• name: string
Inherited from
Error.name
Defined in
node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1067
stack
• Optional stack: string
Inherited from
Error.stack
Defined in
node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1069