Skip to main content
Module

x/valita/mod.ts>Err

A typesafe validation & parsing library for TypeScript.
Go to Latest
type alias Err
import { type Err } from "https://deno.land/x/valita@v0.3.4/mod.ts";

A validation/parsing failure.

Used in situations where both the parsing success and failure cases are returned as values.

definition: { readonly ok: false; readonly issues: readonly Issue[]; readonly message: string; throw(): never; }