MCPcopy Index your code
hub / github.com/Lemoncode/fonk / setErrorMessage

Function setErrorMessage

src/validators/pattern.ts:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7let defaultMessage = 'Please provide a valid format.';
8export const setErrorMessage = message => (defaultMessage = message);
9
10export interface PatternArgs {
11 pattern: string | RegExp;

Callers 1

pattern.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…