Creates a validation function for the given zod schema including user-friendly error messages using zod-validation-error.
The Zod schema to validate against.
A function that validates input against the schema.
Creates a validation function for the given zod schema including user-friendly error messages using zod-validation-error.