( ctx: InternalTraversal, input: ArkErrorContextInput )
| 652 | |
| 653 | /** adds an error from a context at ctx's path */ |
| 654 | export const errorFromContext = ( |
| 655 | ctx: InternalTraversal, |
| 656 | input: ArkErrorContextInput |
| 657 | ): ArkError => ctx.addError(errorOfContext(input, ctx.path, ctx.config)) |
| 658 | |
| 659 | /** adds a node's error at a path from ctx's, as a site's is added */ |
| 660 | export const errorFromNodeAt = ( |
no test coverage detected