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

x/valibot/mod.ts>_addIssue

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

Adds an issue to the dataset.

Type Parameters

TContext extends Context

Parameters

context: TContext

The issue context.

label: string

The issue label.

dataset: Dataset<unknown, BaseIssue<unknown>>

The input dataset.

config: Config<InferIssue<TContext>>

The configuration.

optional
other: Other<TContext>

The optional props.