Skip to content
1 min read · 76 words

Variable: E_NATIVE_TTS_ENGINE_ERROR

ts
const E_NATIVE_TTS_ENGINE_ERROR: CreatedException<[string]>;

Defined in: src/batteries/tts/native/exceptions.ts:51

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).