Errors
Error classes with machine-readable codes and recovery flags.
Error classes with machine-readable codes and recovery flags.
- AudioCaptureError — Error thrown when audio capture (microphone input) fails.
- AudioPlaybackError — Error thrown when audio playback fails.
- CompositeVoiceError — Base error class for all CompositeVoice SDK errors.
- ConfigurationError — Error thrown when the SDK configuration is invalid.
- InvalidStateError — Error thrown when an operation is attempted in an invalid state.
- MicrophonePermissionError — Error thrown when microphone access is denied by the user or browser.
- ProviderConnectionError — Error thrown when a provider fails to establish a connection.
- ProviderInitializationError — Error thrown when a provider fails to initialize.
- ProviderResponseError — Error thrown when a provider returns an error response.
- TimeoutError — Error thrown when an operation exceeds its allowed time limit.
- WebSocketError — Error thrown when a WebSocket operation fails.