Whistle API
GitHub
Preparing search index...
@tiny-stt/whistle
WhistleErrorCode
Type Alias WhistleErrorCode
WhistleErrorCode
:
typeof
errorCodes
[
number
]
Machine-readable failure category; messages may include environment-specific detail.
Code
Meaning
UNSUPPORTED_ENVIRONMENT
Required browser APIs are unavailable.
INVALID_OPTIONS
Invalid path, URL, language, limit or option value.
INVALID_AUDIO
Empty/wrong PCM type or non-finite/out-of-range samples.
AUDIO_TOO_LONG
Input or decoded file exceeds 30 seconds.
AUDIO_DECODE_FAILED
Invalid or unsupported encoded audio.
MICROPHONE_DENIED
Permission or secure-context policy denied capture.
MICROPHONE_UNAVAILABLE
No usable device, or capture failed.
ASSET_NOT_FOUND
Required prepared asset is absent or unreadable.
ASSET_DOWNLOAD_FAILED
Asset acquisition failed after bounded retries.
ASSET_INTEGRITY_FAILED
Expected size or SHA-256 does not match.
ASSET_INCOMPATIBLE
Manifest or SDK/runtime compatibility mismatch.
MODEL_LOAD_FAILED
Engine rejected the model or lacks speech capability.
INFERENCE_FAILED
Engine returned a negative status or runtime failure.
INVALID_ENGINE_OUTPUT
Truncated, malformed or unsupported engine output.
WORKER_FAILED
Worker startup, transport, crash or protocol failure.
OUT_OF_MEMORY
WASM allocation failure or a runtime RangeError.
ABORTED
Caller cancelled the operation.
DISPOSED
Operation was attempted or pending on a disposed instance.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
GitHub
Whistle API
Loading...
Machine-readable failure category; messages may include environment-specific detail.