Skip to main content
Module

x/domain_functions/src/index.ts>EnvironmentError

Types and functions to make composition easy and safe
Latest
class EnvironmentError
extends Error
import { EnvironmentError } from "https://deno.land/x/domain_functions@v3.0.0/src/index.ts";

A custom error class for environment errors.

Examples

const df = mdf()(() => { throw new EnvironmentError('Invalid environment', 'user.name') })

Constructors

new
EnvironmentError(message: string, path: string)

Properties

path: string