about returning custom messages
q2wdqea opened this issue · 2 comments
q2wdqea commented
HeyJavaBean commented
You can assert the validator error type and wrap your own biz error.
philchia commented
validator error should be a concrete type, including full path of the field and the error message