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

ValidationError.path #17

Closed
colinhacks opened this issue Mar 16, 2020 · 1 comment
Closed

ValidationError.path #17

colinhacks opened this issue Mar 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@colinhacks
Copy link
Owner

When Zod throws a validation error, specify where in the schema that error occurred. Can be very helpful for large schemas.

Split off from #14.

@colinhacks
Copy link
Owner Author

zod@1.0.11 includes vastly improved error handling through the introduction of the ZodError class.

Check out the Errors section of the Readme for details 🤙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant