isAbilityResponseSchemaValidationFailure(Defined in: app-sdk/src/abilityClient/typeGuards.ts:64 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 thevalue
):value is AbilityExecuteResponseFailureNoResult<Record<string, any>>
schemaValidationError
property in the response - it is a ZodError object.
Parameters
value
unknown
Returns
value is AbilityExecuteResponseFailureNoResult<Record<string, any>>