title: Is there anything available to display error code in luman laravel while file uploading to validated the file size and file type?
body: <p>Am new for <strong>luman laravel</strong> framework and i worked with file uploading concept with file type and file size validation.</p>
  
  <pre><code>$this-&gt;validate($request, [
              'profile_picture' =&gt; 'required|mimes:jpeg,png,jpg,gif,svg|max:100',
              'pancard_image' =&gt; 'required|mimes:pdf,jpeg,png,jpg|max:100',
              'national_id_image' =&gt; 'required|mimes:pdf,jpeg,png,jpg|max:100',
              'income_proof_image' =&gt; 'required|mimes:pdf,jpeg,png,jpg,doc,docs,xlsx|max:100',
              'address_proof_image' =&gt; 'required|mimes:pdf,jpeg,png,jpg|max:100'
          ]);
  </code></pre>
  
  <p>Am using the validation with above code and my question is how can i display error message with error code like core php file uploading concept.suggestions welcome.</p>