title: Form Request Validation returns empty error messages – Laravel 5.3
body: <p>I've got a problem with error messages during validation in Laravel. I've got my custom Request:</p>
  
  <pre><code>class CreateCv extends Request
  {
      public function authorize()
      {
          return true;
      }
  
      public function rules()
      {
          return [
              'name' =&gt; 'required',
              'surname' =&gt; 'required',
          ];
      }
  
      public function messages()
      {
          return [
              'name.required' =&gt; 'Fill the name!',
              'surname.required'  =&gt; 'Fill the surname!',
          ];
      }
  }
  </code></pre>
  
  <p>and then I've got a controller with create method:</p>
  
  <pre><code>class CvController extends Controller
  {
  
      public function create(Requests\CreateCv $request) {
          return response()-&gt;json(['ok' =&gt; true], 200);
      }
  }
  </code></pre>
  
  <p>If everything is filled up, then it returns json response <code>"ok" : true</code> correctly. But when something is missing, then it returns empty msg: <code>"msg": ""</code>. What causes this problem?</p>
  
  <p><strong>EDIT</strong>
  here's the handler.php file</p>
  
  <pre><code>class Handler extends ExceptionHandler
  {
      protected $dontReport = [
          AuthorizationException::class,
          HttpException::class,
          ModelNotFoundException::class,
          //ValidationException::class,
      ];
  
      public function report(Exception $e)
      {
          parent::report($e);
      }
  
      public function render($request, Exception $e)
      {
          return $e;
          //return response()-&gt;json(['msg' =&gt; $e-&gt;getMessage()], 422);
          //return parent::render($request, $e);
      }
  }
  </code></pre>