Skip to content
1 min read · 41 words

Variable: E_OLLAMA_STREAM_ERROR

ts
const E_OLLAMA_STREAM_ERROR: CreatedException<[string]>;

Defined in: batteries/llm/ollama/exceptions.ts:73

Thrown when the NDJSON stream emits a transport-level failure mid-stream (the reader throws). Non-fatal — surfaced via ctx.nack(...). A single malformed NDJSON line is NOT this error — it is swallowed + logged at trace.