Closed sharenjoy closed 9 years ago
validation errors should have to handled before the transformations are hits, just like the common application behaviors
but for a suggestion, you may do
if ($e instanceOf ValidationException) { return // format your validation message here }
in your App\Exception\Handler file and this logic wrote only once.
How do I insert data to the meta? It will look like this.
thanks