class ErrorEvent extends EventConstructorsnewErrorEvent(type: string, eventInitDict?: ErrorEventInit)Propertiesreadonlycolno: numberreadonlyerror: anyreadonlyfilename: stringreadonlylineno: numberreadonlymessage: string