(error: ArkIssue, line: string)
| 985 | // standalone validator's issue holds it, where another copy of arktype reads |
| 986 | // it too. Not enumerable, so it's neither copied, printed nor serialized |
| 987 | const noteLine = (error: ArkIssue, line: string): void => { |
| 988 | Object.defineProperty(error, "_l", { value: line, configurable: true }) |
| 989 | } |
| 990 | |
| 991 | // a union's or intersection's message is about its own value, and is what a |
| 992 | // form shows beside its path, so the paths of its errors are written from its |
no outgoing calls
no test coverage detected