MCPcopy Index your code
hub / github.com/thesysdev/openui / errors

Function errors

packages/lang-core/src/parser/__tests__/parser.test.ts:29–29  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

27// ── Helpers ───────────────────────────────────────────────────────────────────
28
29const errors = (input: string) => parse(input, schema).meta.errors;
30const codes = (input: string) => errors(input).map((e: { code: string }) => e.code);
31
32// ── unknown-component ────────────────────────────────────────────────────────

Callers 2

codesFunction · 0.70
parser.test.tsFile · 0.70

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected