StructuredOutputException
Defined in: src/structured-output/exceptions.ts:8
Exception raised when the model fails to produce structured output. This is raised only when the LLM refuses to use the structured output tool even after being forced via toolChoice.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StructuredOutputException(message): StructuredOutputException;Defined in: src/structured-output/exceptions.ts:9
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message | string |
Returns
Section titled “Returns”StructuredOutputException
Overrides
Section titled “Overrides”Error.constructor