How to handle zod parse error from api/endpoint declaration #498
Unanswered
fmartins-andre
asked this question in
Q&A
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The schema validation errors are shown in the console when in development mode, but in production, no error is emitted.
I wonder if there's a way for handle these kind of error from a central location, link in the api ou endpoint file, allowing me to toast some message or handle the error in some way.
Beta Was this translation helpful? Give feedback.
All reactions