Limited availability
The message
read-only property of the SpeechRecognitionErrorEvent
interface returns a message describing the error in more detail.
A string containing more details about the error that was raised. Note that the spec does not define the exact wording of these messages â this is up to the implementors to decide upon.
Examplesconst 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.4