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

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

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

Parameters

def: Output

Parameters

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