Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/value_schema/dist-deno/libs/ValueSchemaError.ts>ValueSchemaError.raise

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Latest
method ValueSchemaError.raise
import { ValueSchemaError } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/libs/ValueSchemaError.ts";

throw an error

Parameters

rule: RULE

the rule that input value didn't satisfy

values: Values

input/output values

keyStack: Key[]

path to key that caused error

Returns

never