ParseError
Defined in: packages/engine/src/lib/errors.ts:11
Raised when the LLM’s raw textual output cannot be parsed — typically a missing required field or malformed JSON before schema validation runs.
Callers pattern-match on _tag. raw preserves the original string so
downstream diagnostics can log or surface the unparseable payload.
Properties
Section titled “Properties”
readonly_tag:"ParseError"
Defined in: packages/engine/src/lib/errors.ts:12
message
Section titled “message”
readonlymessage:string
Defined in: packages/engine/src/lib/errors.ts:13
readonlyraw:string
Defined in: packages/engine/src/lib/errors.ts:14
stack?
Section titled “stack?”
readonlyoptionalstack?:string
Defined in: packages/engine/src/lib/errors.ts:15