import { z } from "https://dotland.deno.dev/x/zod@v3.22.2/index.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