import { tryCatch } from "https://deno.land/x/fonction@v2.1.0-beta.4/src/tryCatch.ts";
tryCatch
takes two functions, a tryer
and a catcher
. The returned function evaluates the tryer
; if it does not throw, it simply returns the result. If the tryer
does throw, the returned function evaluates the catcher function and returns its result.