MCPcopy Create free account
hub / github.com/arktypeio/arktype / throwIssues

Function throwIssues

ark/schema/shared/issuesLean.ts:317–321  ·  view source on GitHub ↗
(apply: CompactApply, data: unknown)

Source from the content-addressed store, hash-verified

315}
316
317export const throwIssues = (apply: CompactApply, data: unknown): never => {
318 const errors = new Issues()
319 issuesOf(apply, data, errors)
320 return errors.throw()
321}
322
323// the errors hold no path to release
324export const applyIssues = (

Callers

nothing calls this directly

Calls 2

throwMethod · 0.95
issuesOfFunction · 0.70

Tested by

no test coverage detected