import { withAsyncErrorRecovery } from "https://deno.land/x/dtils@2.4.0/mod.unstable.ts";
Call fn
, returning its result, but return recoverWith
if it errors. If fn
doesn't return a promise,
use withErrorRecovery
instead
x/dtils/mod.unstable.ts>withAsyncErrorRecovery
import { withAsyncErrorRecovery } from "https://deno.land/x/dtils@2.4.0/mod.unstable.ts";
Call fn
, returning its result, but return recoverWith
if it errors. If fn
doesn't return a promise,
use withErrorRecovery
instead