bupkis
    Preparing search index...

    Interface $ZodCatchDef<T>

    interface $ZodCatchDef<T extends SomeType = z.core.$ZodType> {
        type: "catch";
        innerType: T;
        catchValue: (ctx: $ZodCatchCtx) => unknown;
        error?: $ZodErrorMap<never>;
        checks?: z.core.$ZodCheck<never>[];
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    type: "catch"
    innerType: T
    catchValue: (ctx: $ZodCatchCtx) => unknown
    error?: $ZodErrorMap<never>
    checks?: z.core.$ZodCheck<never>[]