Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
variable tryCatch
import { tryCatch } from "https://deno.land/x/gamla@89.0.0/src/index.ts";

type

<F extends Func, T>(f: F, fallback: (e: Error, ...xs: Parameters<F>) => T) => unknown