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

x/valibot/src/storages/schemaMessage/index.ts>getSchemaMessage

The modular and type safe schema library for validating structural data 🤖
Latest
function getSchemaMessage
import { getSchemaMessage } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/storages/schemaMessage/index.ts";

Returns a schema error message.

Parameters

optional
lang: string

The language of the message.

Returns

ErrorMessage<BaseIssue<unknown>> | undefined

The error message.