Skip to content

StructuredOutputValidationError

Thrown when the parsed JSON does not match the expected Zod schema.

new StructuredOutputValidationError(issues): StructuredOutputValidationError

unknown[]

StructuredOutputValidationError

AgentExpressError.constructor

readonly optional cause?: Error

Original error that caused this one, if any.

AgentExpressError.cause


code: string

Machine-readable error code (e.g., “ABORT”, “RATE_LIMIT”, “TOOL_DENIED”).

AgentExpressError.code


readonly issues: unknown[]

Zod validation issues.


readonly retryable: boolean

Whether this error can be retried by retry middleware.

AgentExpressError.retryable