You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose the implementation of a dedicated custom exception class for exceptions thrown when Zod validation fails.
Currently, a generic BadRequestException is being thrown, which does not allow us to distinguish whether the failure was due to Zod validation or other causes.
Having a specific custom exception class for Zod validation errors would greatly enhance error handling and debugging processes.
The text was updated successfully, but these errors were encountered:
I would like to propose the implementation of a dedicated custom exception class for exceptions thrown when Zod validation fails.
Currently, a generic BadRequestException is being thrown, which does not allow us to distinguish whether the failure was due to Zod validation or other causes.
Having a specific custom exception class for Zod validation errors would greatly enhance error handling and debugging processes.
The text was updated successfully, but these errors were encountered: