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

std/node/_errors.ts>NodeTypeError

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class NodeTypeError
implements TypeError
extends NodeErrorAbstraction
import { NodeTypeError } from "https://deno.land/std@0.82.0/node/_errors.ts";

Constructors

new
NodeTypeError(code: string, message: string)