onerror

external var onerror: Function<*>?(source)

A Function | null event handler for the error event. Equivalent to calling addEventListener('error', ...).