Add custom error
EugeneG9 opened this issue · 1 comments
EugeneG9 commented
Can't realize - how to add custom error to list of error messages before put model to withErrors()
method.
dwightwatson commented
I'm not entirely sure what you're asking, do you want to provide custom error messages to the validator? If so, you can do that with the $validationMessages
property. Please let me know if this doesn't answer your question.