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

x/valibot/src/storages/globalMessage/globalMessage.ts>getGlobalMessage

The modular and type safe schema library for validating structural data 🤖
Go to Latest
function getGlobalMessage
import { getGlobalMessage } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/storages/globalMessage/globalMessage.ts";

Returns a global error message.

Parameters

optional
lang: string

The language of the message.

Returns

ErrorMessage<BaseIssue<unknown>> | undefined

The error message.