import { EnvironmentError } from "https://deno.land/x/domain_functions@v3.0.0/src/errors.ts";
A custom error class for environment errors.
Examples
const df = mdf()(() => {
throw new EnvironmentError('Invalid environment', 'user.name')
})
const df = mdf()(() => { throw new EnvironmentError('Invalid environment', 'user.name') })