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

Function jsErrorCtx

ark/schema/constraint.ts:126–128  ·  view source on GitHub ↗

`errorCtx` written as JavaScript, as compiled code reports it

()

Source from the content-addressed store, hash-verified

124
125 /** `errorCtx` written as JavaScript, as compiled code reports it */
126 get jsErrorCtx(): string {
127 return compileObjectLiteral(this.errorCtx!)
128 }
129}
130
131// from a rule alone or with its options, e.g. 5 or { rule: 5, exclusive: true }

Callers

nothing calls this directly

Calls 1

compileObjectLiteralFunction · 0.90

Tested by

no test coverage detected