Skip to main content
Module

x/domain_functions/src/errors.ts

Types and functions to make composition easy and safe
Latest
import * as domainFunctions from "https://deno.land/x/domain_functions@v3.0.0/src/errors.ts";

Classes

A custom error class for environment errors.

A custom error class for input errors.

A custom error class for creating ErrorResult.

Functions

Extracts the error messages for a property from the given ErrorResult.

Creates a SchemaError (used in inputErrors and environmentErrors) from the given message and path.

Turns the given 'unknown' error into an ErrorWithMessage.