error

The HTMLMediaElement.error property is the MediaError object for the most recent error, or null if there has not been an error.

MDN Reference