error property

MediaError? get error

The HTMLMediaElement.error property is the MediaError object for the most recent error, or null if there has not been an error. When an HTMLMediaElement.error_event event is received by the element, you can determine details about what happened by examining this object.

Implementation

external MediaError? get error;