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

x/valibot/mod.ts>setGlobalMessage

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

Sets a global error message.

Parameters

message: ErrorMessage<BaseIssue<unknown>>

The error message.

optional
lang: string

The language of the message.