Skip to main content
Module

x/valibot/mod.ts>getSchemaIssues

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function getSchemaIssues
Re-export
import { getSchemaIssues } from "https://deno.land/x/valibot@v0.19.0/mod.ts";

Returns the schema result object with issues.

Parameters

info: ParseInfo | undefined

The parse info.

reason: IssueReason

The issue reason.

validation: string

The validation name.

The error message.

input: unknown

The input value.

optional
issues: Issues

The sub issues.

Returns

{ issues: Issues; }

The schema result object.