deiucanta / laravel-smart

Automatic Migrations, Validation and More
48 stars 7 forks source link

Remove json response from ValidationException #12

Closed robsontenorio closed 6 years ago

robsontenorio commented 6 years ago

There is no need to build a JSON response for ValidationException. Just let throw Laravel`s default exception/response. Many apps relies on it when handling exceptions.