onerror

Fires when an error occurs during object loading.

Parameters

ev

The event.

MDN Reference