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

Method error

ark/type/parser/reduce/dynamic.ts:70–72  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

68 }
69
70 error(message: string): never {
71 return throwParseError(message)
72 }
73
74 hasRoot(): this is RootedRuntimeState {
75 return this.root !== undefined

Callers 15

finalizeMethod · 0.95
reduceLeftBoundMethod · 0.95
finalizeGroupMethod · 0.95
assertRangeUnsetMethod · 0.95
dump.tsFile · 0.45
writeHelix.tsFile · 0.45
parseIntegerFunction · 0.45
parseDateFunction · 0.45
parseIsoDateFunction · 0.45
parseJsonFunction · 0.45
stringifyJsonFunction · 0.45
parseUrlFunction · 0.45

Calls 1

throwParseErrorFunction · 0.90

Tested by 2

casesFunction · 0.36
failingFunction · 0.36