Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface z.ZodCatchDef
implements ZodTypeDef
import { type z } from "https://deno.land/x/netzo@0.3.66/deps/zod/mod.ts";
const { ZodCatchDef } = z;

Properties

innerType: T
catchValue: (ctx: { error: ZodError; input: unknown; }) => T["_input"]
typeName: ZodFirstPartyTypeKind.ZodCatch