import { err } from "https://deno.land/x/resulty@0.4.0/mod.ts";
Returns the Err result containing the error message or value when the parent method fails to execute.
Parameters
error: T
import { err } from "https://deno.land/x/resulty@0.4.0/mod.ts";
Returns the Err result containing the error message or value when the parent method fails to execute.