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