Skip to main content
Module

x/domain_functions/src/errors.ts>InputError

Decouple your business logic from your framework. With first-class type inference from end to end.
Go to Latest
class InputError
extends Error
import { InputError } from "https://deno.land/x/domain_functions@v2.6.0/src/errors.ts";

A custom error class for input errors.

Examples

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

Constructors

new
InputError(message: string, path: string)

Properties

path: string