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.
function assertCallbackErrorUncaught
import { assertCallbackErrorUncaught } from "https://deno.land/std@0.138.0/node/_utils.ts";

Asserts that an error thrown in a callback will not be wrongly caught.

Parameters

unnamed 0: { prelude?: string; invocation: string; cleanup?: () => Promise<void> | void; }