method z.ZodType.prototype.catchimport { z } from "https://dotland.deno.dev/x/zod@v3.21.2/index.ts"; const { ZodType } = z; catch(def: Output): ZodCatch<this>catch(def: (ctx: { error: ZodError; input: Input; }) => Output): ZodCatch<this>Parametersdef: OutputReturnsZodCatch<this>Parametersdef: (ctx: { error: ZodError; input: Input; }) => OutputReturnsZodCatch<this>