x/superstruct@v0.16.0/error.ts

A simple and composable way to validate data in JavaScript (and TypeScript).
Latest
import * as superstruct from "https://deno.land/x/superstruct@v0.16.0/error.ts";

Classes

StructError objects are thrown (or returned) when validation fails.

Type Aliases

A StructFailure represents a single specific failure in validation.