API ReferenceNamespaceszFunctionscatchOn this pageFunction: catch() catch<T>(innerType, catchValue): ZodCatch<T> Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:652 Type Parameters T T extends SomeType Parameters innerType T catchValue output<T> | (ctx) => output<T> Returns ZodCatch<T>