import { ZodError } from "https://dotland.deno.dev/x/zod@v3.20/ZodError.ts";
Constructors
new
ZodError(issues: ZodIssue[])Methods
flatten<U>(mapper?: (issue: ZodIssue) => U): typeToFlattenedError<T, U>
format(): ZodFormattedError<T>
format<U>(mapper: (issue: ZodIssue) => U): ZodFormattedError<T, U>
toString()
Static Properties
create: (issues: ZodIssue[]) => unknown