Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw custom error when zod errors #5

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Conversation

BolajiOlajide
Copy link
Owner

This ensures we get a somewhat prettier error whenever validation fails from Zod's end.

@BolajiOlajide BolajiOlajide self-assigned this Jun 24, 2024
@lilpolymath
Copy link
Collaborator

LGTM.

@lilpolymath lilpolymath merged commit 8160ee1 into main Jun 24, 2024
@BolajiOlajide BolajiOlajide deleted the bo/create-custom-error branch June 26, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants