MCPcopy
hub / github.com/KeygraphHQ/shannon / formatAjvErrors

Function formatAjvErrors

apps/worker/src/config-parser.ts:174–176  ·  view source on GitHub ↗

* Format all AJV errors into a list of human-readable messages. * Returns an array of formatted error strings.

(errors: ErrorObject[])

Source from the content-addressed store, hash-verified

172 * Returns an array of formatted error strings.
173 */
174function formatAjvErrors(errors: ErrorObject[]): string[] {
175 return errors.map(formatAjvError);
176}
177
178export const parseConfig = async (configPath: string): Promise<Config> => {
179 try {

Callers 1

validateConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected