code

The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element.

MDN Reference