Type guard function that returns true only if the passed value is a failure ability response that was caused by
a schema parsing failure. All data inputs and outputs to / from Vincent Abilities and Policies is validated using ZOD schemas.
If this returns true, you can parse the schemaValidationError property in the response - it is a ZodError object.
Type guard function that returns true only if the passed value is a failure ability response that was caused by a schema parsing failure. All data inputs and outputs to / from Vincent Abilities and Policies is validated using ZOD schemas.
If this returns true, you can parse the
schemaValidationError
property in the response - it is a ZodError object.