Streaming Audio — Error Handling
Exception Types
Streaming raises the same exception hierarchy as batch, plus server-side ERROR events.
Exception & event reference
| Exception / Event | Description |
|---|---|
ConnectionError | Raised on SDK side if WebSocket fails to connect. |
AuthenticationError | Raised if API key is invalid during handshake. |
TimeoutError | Raised if connection or response exceeds timeout. |
StreamingMessageType.ERROR | Server-side error emitted as an event. Contains message and code. |