Skip to main content
Module

x/domain_functions/src/errors.ts

Decouple your business logic from your framework. With first-class type inference from end to end.
Go to Latest
import * as domainFunctions from "https://deno.land/x/domain_functions@v2.6.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.