method ZodError.prototype.formatimport { ZodError } from "https://dotland.deno.dev/x/zod@v3.21.1/index.ts"; format(): ZodFormattedError<T>format<U>(mapper: (issue: ZodIssue) => U): ZodFormattedError<T, U>ReturnsZodFormattedError<T>Type ParametersUParametersmapper: (issue: ZodIssue) => UReturnsZodFormattedError<T, U>