import { cf } from "https://deno.land/x/domain_functions@v2.6.0/src/index.ts";
const { mapError } = cf;
Creates a new function that will apply a transformation over a resulting Failure from the given function. When the given function succeeds, its result is returned without changes.
Type Parameters
T extends Composable