Skip to main content

on_error

Method
This is a method of the RealtimeAgent class in the realtime_agent module.
Register callback for errors.

Signature

def on_error(callback: Callable[[Exception], None]) -> None

Parameters

callback
Callable
required
Function to call with exception