---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/transformers_js/exceptions/variables/E_TRANSFORMERS_JS_STREAM_ERROR.md
description: >-
  Thrown when the transformers.js pipeline fails to load (e.g. the
  `@huggingface/transformers` peer is not installed) or the generation call
  errors. Non-fatal — surfaced via `ctx.nack(...)`.
---

# Variable: E\_TRANSFORMERS\_JS\_STREAM\_ERROR

```ts
const E_TRANSFORMERS_JS_STREAM_ERROR: CreatedException<[string]>;
```

Defined in: [src/batteries/llm/transformers\_js/exceptions.ts:41](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/llm/transformers_js/exceptions.ts#L41)

Thrown when the transformers.js pipeline fails to load (e.g. the `@huggingface/transformers` peer
is not installed) or the generation call errors. Non-fatal — surfaced via `ctx.nack(...)`.
