ErrorEvent constructor

ErrorEvent(
  1. String type, [
  2. ErrorEventInit? eventInitDict
])

Implementation

factory ErrorEvent(String type, [ErrorEventInit? eventInitDict]) =>
    ErrorEvent._(type, eventInitDict ?? undefined);