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
The idea of a specific error for every particular struct is that:
Looking at the definition of error type one can easily say which validation rules are there
It enables exhaustive error handling
In the further versions I am planning to introduce something like GenericValidationError, so every specific validation error will be convertable into GenericValidationError
The generated error type is not very useful.
The text was updated successfully, but these errors were encountered: