@rendley/sdk - v1.12.6
    Preparing search index...

    Interface ZodCatchDef<T>

    interface ZodCatchDef<T extends Zod.ZodTypeAny = Zod.ZodTypeAny> {
        catchValue: (
            ctx: { error: Zod.ZodError; input: unknown },
        ) => T["_input"];
        description?: string;
        errorMap?: Zod.ZodErrorMap;
        innerType: T;
        typeName: ZodCatch;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    catchValue: (ctx: { error: Zod.ZodError; input: unknown }) => T["_input"]
    description?: string
    errorMap?: Zod.ZodErrorMap
    innerType: T
    typeName: ZodCatch