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

x/valibot/mod.ts>SchemaIssue

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface SchemaIssue
implements Omit<SchemaConfig, "message">
Re-export
import { type SchemaIssue } from "https://deno.land/x/valibot@v0.30.0/mod.ts";

Schema issue type.

Properties

reason: IssueReason

The issue reason.

context: string

The context name.

input: unknown

The raw input data.

expected: string | null

The expected input.

received: string

The received input.

message: string

The error message.

optional
requirement: unknown

The validation requirement

optional
path: IssuePath

The issue path.

optional
issues: SchemaIssues

The sub issues.