Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class NodeErrorAbstraction
extends Error
import { NodeErrorAbstraction } from "https://deno.land/std@0.138.0/node/internal/errors.ts";

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

Constructors

new
NodeErrorAbstraction(
name: string,
code: string,
message: string,
)

Properties

code: string