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

std/node/_errors.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.118.0/node/_errors.ts";

Classes

All error instances in Node have additional methods and properties This export class is meant to be extended by these instances abstracting native JS error instances

Variables

This used to be util._errnoException().

Deprecated, new function is uvExceptionWithHostPort() New function added the error description directly from C++. this method for backwards compatibility

This creates an error compatible with errors produced in the C++ function UVException using a context object with data assembled in C++. The goal is to migrate them to ERR_* errors later when compatibility is not a concern.

This creates an error compatible with errors produced in the C++ This function should replace the deprecated exceptionWithHostPort() function.

Functions

This function removes unnecessary frames from Node.js core errors.