onerror

var onerror: ((this: Window, ev: ErrorEvent) => any) | null;