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

x/valibot/mod.ts>getGlobalMessage

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

Returns a global error message.

Parameters

optional
lang: string

The language of the message.

Returns

ErrorMessage<BaseIssue<unknown>> | undefined

The error message.