Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method matches.Parser.prototype.errorMessage
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.4/mod.ts";
const { Parser } = 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