Unique identifier of the provider that failed.
Unique identifier of the provider that will be tried next.
Whether this is an STT or TTS fallback chain.
The error thrown by the failing provider. Typed as unknown because
providers may throw non-Error values (e.g. string messages, API response
objects). Callers should use instanceof Error before accessing .message.
Payload emitted on the
provider_fallbackevent when a provider in the chain fails and the proxy advances to the next candidate.This event is emitted on the
EventEmitterpassed to the proxy constructor — typically theSpeechProviderResolverinstance — so that callers can observe and log the fallback path without coupling to the proxy internals.See
Example