---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/tts/native/exceptions/variables/E_NATIVE_TTS_ENGINE_ERROR.md
description: >-
  Thrown when the OS-native binary invocation fails (non-zero exit / spawn error
  / empty or missing output file / a result that is not a RIFF/WAVE file).
  Non-fatal: the engine itself may be transiently unavailable, or a particular
  voice/rate combination may be rejected by the binary; retry or fall back to
  another TTS engine. Printf arg: `[detail]` (stderr on failure, otherwise a
  structural message such as `expected a RIFF/WAVE file`).
---

# Variable: E\_NATIVE\_TTS\_ENGINE\_ERROR

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

Defined in: [src/batteries/tts/native/exceptions.ts:51](https://github.com/NHTIO/ADK/blob/v1.20260718.0/src/src/batteries/tts/native/exceptions.ts#L51)

Thrown when the OS-native binary invocation fails (non-zero exit / spawn error / empty or missing
output file / a result that is not a RIFF/WAVE file). Non-fatal: the engine itself may be
transiently unavailable, or a particular voice/rate combination may be rejected by the binary;
retry or fall back to another TTS engine. Printf arg: `[detail]` (stderr on failure, otherwise a
structural message such as `expected a RIFF/WAVE file`).
