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

x/ayonli_jsext/error/index.ts

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/error/index.ts";

Functions for converting errors to/from other types of objects.

Classes

A generic exception class, which can be used to represent any kind of error. It's similar to the DOMException, but for any JavaScript environment.

Functions

Creates an error instance based on the given ErrorEvent instance.

Reverses a plain object to a specific error type.

Creates an ErrorEvent instance based on the given error.

Transforms the error to a plain object.

Interfaces

Options for creating an exception, used by the Exception constructor.