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

x/valibot/src/index.ts>BaseIssue

The modular and type safe schema library for validating structural data 🤖
Latest
interface BaseIssue
implements Config<BaseIssue<TInput>>
Re-export
import { type BaseIssue } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/index.ts";

Base issue type.

Properties

readonly
kind: "schema" | "validation" | "transformation"

The issue kind.

readonly
type: string

The issue type.

readonly
input: TInput

The raw input data.

readonly
expected: string | null

The expected property.

readonly
received: string

The received property.

readonly
message: string

The error message.

readonly
optional
requirement: unknown | undefined

The input requirement.

readonly
optional
path: [IssuePathItem, ...IssuePathItem[]] | undefined

The issue path.

readonly
optional
issues: [BaseIssue<TInput>, ...BaseIssue<TInput>[]] | undefined

The sub issues.