MCPcopy Create free account
hub / github.com/andywer/postguard / isAugmentedError

Function isAugmentedError

src/errors.ts:86–88  ·  view source on GitHub ↗
(error: Error | CodeError | ValidationError)

Source from the content-addressed store, hash-verified

84}
85
86export function isAugmentedError(error: Error | CodeError | ValidationError) {
87 return error.name === "QuerySyntaxError" || error.name === "ValidationError"
88}
89
90export function augmentFileValidationError(
91 error: Error | CodeError | ValidationError,

Callers 1

runFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected