Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>ZodSchema#catch

A frugal web framework
Latest
method ZodSchema.prototype.catch
import { ZodSchema } from "https://deno.land/x/frugal@0.9.6/dep/zod.ts";

Parameters

def: Output

Parameters

def: (ctx: { error: ZodError; input: Input; }) => Output