method z.ZodSchema.prototype.catchimport { z } from "https://dotland.deno.dev/x/zod@v3.21.3/index.ts"; const { ZodSchema } = 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>