Skip to main content
Module

x/superstruct/error.ts

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

Classes

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

Type Aliases

A StructFailure represents a single specific failure in validation.