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

Function registerErrorLineFormatter

ark/schema/shared/issues.ts:804–808  ·  view source on GitHub ↗
(
	formatter: (error: ReadableIssue) => string | undefined
)

Source from the content-addressed store, hash-verified

802
803/** @internal registered by errors.ts so arktype and arktype/runtime share one lineOf */
804export const registerErrorLineFormatter = (
805 formatter: (error: ReadableIssue) => string | undefined
806): void => {
807 formatArkError = formatter
808}
809
810const isLabeledIssue = (
811 issue: ReadableIssue,

Callers 1

errors.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected