Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/event.ts>createErrorEvent

A JavaScript extension package for building strong and modern applications.
Latest
function createErrorEvent
import { createErrorEvent } from "https://deno.land/x/ayonli_jsext@v0.9.72/event.ts";

Creates an ErrorEvent instance based on the given options. If the ErrorEvent constructor is not available, the generic Event constructor will be used instead, and the options will be attached to the event as its properties.

Parameters

type: "error"
optional
options: ErrorEventInit

Parameters

type: string
optional
options: ErrorEventInit