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

x/omdb/deps.ts>z.ZodSchema#catch

Access OMDb's API with Deno.
Go to Latest
method z.ZodSchema.prototype.catch
import { z } from "https://deno.land/x/omdb@v3.0.1/deps.ts";
const { ZodSchema } = z;

Parameters

def: Output

Parameters

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