error property

The error property of the SpeechSynthesisErrorEvent interface returns an error code indicating what has gone wrong with a speech synthesis attempt.

Implementation

external SpeechSynthesisErrorCode get error;