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