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

std/node/_errors.ts>uvException

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
variable uvException
import { uvException } from "https://deno.land/std@0.119.0/node/_errors.ts";

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.