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

x/valibot/mod.ts>ValiError

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
class ValiError
extends Error
Re-export
import { ValiError } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

A Valibot error with useful information.

Constructors

new
ValiError(issues: [InferIssue<TSchema>, ...InferIssue<TSchema>[]])

Creates a Valibot error with useful information.

Type Parameters

TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>

Properties

readonly
issues: [InferIssue<TSchema>, ...InferIssue<TSchema>[]]

The error issues.