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

Function configOf

ark/schema/shared/errors.ts:933–936  ·  view source on GitHub ↗
(error: ArkError)

Source from the content-addressed store, hash-verified

931 ErrorSource.stamps(issue)
932
933const configOf = (error: ArkError): ResolvedConfig => {
934 const source = ErrorSource.of(error)
935 return source instanceof Supplied ? source.config : source
936}
937
938const inputOf = (error: ArkError): ArkErrorContextInput | undefined => {
939 const source = ErrorSource.of(error)

Callers 3

writtenLocaleOfFunction · 0.70
writtenInFunction · 0.70
unwrittenErrorFunction · 0.70

Calls 1

ofMethod · 0.45

Tested by

no test coverage detected