Formats zod 3.x error in human readable format
Acest script nu ar trebui instalat direct. Aceasta este o bibliotecă pentru alte scripturi care este inclusă prin directiva meta a // @require https://update.greasyfork.org/scripts/565798/1752557/Zod%203x%20Error%20Formatter.js
Formats zod 3.x error in human readable format
Formats zod error or zod error like object
const zodError = z.string().safeParse(Number()).error
const readableError = ZodErrorFormatter.format(zodError)
console.error(readableError)