Skip to main content
Module

x/valibot/mod.ts>setSchemaMessage

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

Sets a schema error message.

Parameters

message: ErrorMessage

The error message.

optional
lang: string

The language of the message.