MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / formatError

Function formatError

packages/orm/src/utils/zod-utils.ts:7–9  ·  view source on GitHub ↗
(error: ZodError)

Source from the content-addressed store, hash-verified

5 * Format ZodError into a readable string
6 */
7export function formatError(error: ZodError): string {
8 return fromError(error).toString();
9}

Callers 3

validateOptionsMethod · 0.90
validateMethod · 0.90

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected