Class: StructuredOutputError
Defined in: packages/client/src/errors.ts:33
The model did not return output that matches the schema.
Extends
Constructors
Constructor
new StructuredOutputError(
message,text):StructuredOutputError
Defined in: packages/client/src/errors.ts:34
Parameters
message
string
text
string
Returns
StructuredOutputError
Overrides
Properties
cause?
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
message
message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
name
name:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
stack?
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
text
readonlytext:string
Defined in: packages/client/src/errors.ts:36