Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_matches/src/parsers/index.ts>Parser#errorMessage

Being able to pattern match in typescript
Go to Latest
method Parser.prototype.errorMessage
Re-export
import { Parser } from "https://deno.land/x/ts_matches@v5.2.1/src/parsers/index.ts";

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