Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox_deno/src/value/index.ts>Value.Errors

JSON Schema Type Builder with Static Type Resolution for TypeScript
Latest
function Value.Errors
import { Value } from "https://deno.land/x/typebox_deno@0.31.22/src/value/index.ts";
const { Errors } = Value;

Returns an iterator for each error in this value.

Type Parameters

T extends Types.TSchema

Parameters

schema: T
references: Types.TSchema[]
value: unknown

Returns

ValueErrors.ValueErrorIterator

Returns an iterator for each error in this value.

Type Parameters

T extends Types.TSchema

Parameters

schema: T
value: unknown

Returns

ValueErrors.ValueErrorIterator