title: Distinguish between validation errors in Laravel
body: <p>I'm using the validation rules in Laravel 4, which are very powerful. However, I wonder how one can distinguish between the different validations error that may occur. For example if I use the following rules:</p>
  
  <pre><code>$rules = array(
    'email'  =&gt; 'required|email|confirmed',
    'email_confirmation' =&gt; 'required|email',
  );
  </code></pre>
  
  <p>How can I tell what validation rule/rules that triggered the error for a certain field? Is there some way I can tell that the error was due to a missing email value, email wasn't a valid email address and/or the email couldn't be confirmed?</p>
  
  <p>I quite new to laravel as I began working with it a week ago so I hope someone may shed some light on this.</p>