Module

std/node/internal/errors.ts

Deno standard library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.146.0/node/internal/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 a generic Node.js error.

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.

Returns true if err.name and err.message are equal to engine-specific values indicating max call stack size has been exceeded. "Maximum call stack size exceeded" in V8.