Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/index.ts>getSpecificMessage

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

Returns a specific error message.

Type Parameters

TReference extends Reference

Parameters

reference: TReference

The identifier reference.

optional
lang: string

The language of the message.

Returns

ErrorMessage<InferIssue<ReturnType<TReference>>> | undefined

The error message.