import { ZodError } from "https://deno.land/x/zod@v3.17.3/mod.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>
format(_mapper?: any)
toString()
Static Properties
create: (issues: ZodIssue[]) => unknown