dwightwatson/validating

Add custom error

EugeneG9 opened this issue · 1 comments

Can't realize - how to add custom error to list of error messages before put model to withErrors() method.

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.