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

x/valibot/mod.ts>setSpecificMessage

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

Sets a specific error message.

Parameters

reference: Function

The identifier reference.

message: ErrorMessage

The error message.

optional
lang: string

The language of the message.