Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/zod/mod.ts>z.ZodCatchDef

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface z.ZodCatchDef
implements ZodTypeDef
import { type z } from "https://deno.land/x/netzo@0.4.72/deps/zod/mod.ts";
const { ZodCatchDef } = z;

Properties

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