---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/variables/E_TRANSFORMERS_JS_STT_ENGINE_ERROR.md
description: >-
  Thrown when the transformers.js pipeline fails to load (e.g. the
  `@huggingface/transformers` peer is not installed) or the
  `automatic-speech-recognition` call throws/returns a malformed result.
  Non-fatal. Printf arg: `[detail]`.
---

# Variable: E\_TRANSFORMERS\_JS\_STT\_ENGINE\_ERROR

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

Defined in: [src/batteries/specialists/stt/transformers\_js/exceptions.ts:30](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/specialists/stt/transformers_js/exceptions.ts#L30)

Thrown when the transformers.js pipeline fails to load (e.g. the `@huggingface/transformers` peer
is not installed) or the `automatic-speech-recognition` call throws/returns a malformed result.
Non-fatal. Printf arg: `[detail]`.
