Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method matches.Validator.prototype.errorMessage
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/dependencies.ts";
const { Validator } = matches;

When we want to get the error message from the input, to know what is wrong

Parameters

input: A

Returns

void | string

Null if there is no error