import { z } from "https://deno.land/x/pup@1.0.0-rc.5/deps.ts";
const { ZodError } = z;
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