Go to Latest
variable uvException
import { uvException } from "https://dotland.deno.dev/std@0.177.0/node/internal/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.