Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denoexec/lib/process.ts>Process#catch

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
method Process.prototype.catch
import { Process } from "https://deno.land/x/denoexec@v1.1.5/lib/process.ts";

Type Parameters

optional
TResult = never

Parameters

optional
onrejected: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null