Skip to main content

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​

LeuriaError.constructor

Properties​

cause?​

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from​

LeuriaError.cause


message​

message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from​

LeuriaError.message


name​

name: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from​

LeuriaError.name


stack?​

optional stack?: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from​

LeuriaError.stack


text​

readonly text: string

Defined in: packages/client/src/errors.ts:36