ErrorEventArgs
12 Sep 20251 minute to read
Represents the event arguments triggered when listening is disabled or exceptions are raised in the SpeechToText component.
Properties
error string
Represents a string describing the error type that occurred during speech-to-text actions.
This value indicates what went wrong, such as ‘audio-capture’ or ‘not-allowed’, and helps to find
the cause of the failure for better troubleshooting.
errorMessage string
A message providing further details about the error.
This message gives more context or clarification on the error that occurred,
helping user to better understand the issue.
It could include user-facing messages or more technical error details.
event Event
Specifies the data provided when an error event is triggered during speech-to-text actions.
This property helps identify the specific error event that occurred during listening or speaking,
allowing to differentiate between various issues such as microphone access failures,
unsupported language models, or network issues.
name string
Specifies name of the event.