A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionErrorEvent below:

SpeechRecognitionErrorEvent - Web APIs | MDN

SpeechRecognitionErrorEvent

Limited availability

The SpeechRecognitionErrorEvent interface of the Web Speech API represents error messages from the recognition service.

Event SpeechRecognitionErrorEvent Instance properties

SpeechRecognitionErrorEvent also inherits properties from its parent interface, Event.

SpeechRecognitionErrorEvent.error Read only

Returns the type of error raised.

SpeechRecognitionErrorEvent.message Read only

Returns a message describing the error in more detail.

Examples
const recognition = new SpeechRecognition();

recognition.onerror = (event) => {
  console.log(`Speech recognition error detected: ${event.error}`);
  console.log(`Additional information: ${event.message}`);
};
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3