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

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

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

Defined in: [src/batteries/embeddings/transformers\_js/exceptions.ts:32](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/embeddings/transformers_js/exceptions.ts#L32)

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