<?php

namespace SRLabs\Validator\Exceptions;

use Exception;

class FormValidationFailedException extends Exception
{

    protected $errors;

    /**
     * @param string $message
     * @param int    $errors
     */
    public function __construct($message, $errors)
    {
        $this->message = $message . '. ';
        $this->errors = $errors;

        foreach ($this->errors->all() as $message) {
            $this->message .= ' ' . $message;
        }
    }

    /**
     * @return int
     */
    public function getErrors()
    {
        return $this->errors;
    }
}

<?php namespace SRLabs\Validator\Exceptions;

use Exception;

class FormValidationFailedException extends Exception {

    protected $errors;

    /**
     * @param string $message
     * @param int    $errors
     */
    public function __construct($message, $errors)
    {
        $this->message = $message;
        $this->errors = $errors;
    }

    /**
     * @return int
     */
    public function getErrors()
    {
        return $this->errors;
    }
} 
--- 
+++ 
@@ -1,8 +1,11 @@
-<?php namespace SRLabs\Validator\Exceptions;
+<?php
+
+namespace SRLabs\Validator\Exceptions;
 
 use Exception;
 
-class FormValidationFailedException extends Exception {
+class FormValidationFailedException extends Exception
+{
 
     protected $errors;
 
@@ -12,8 +15,12 @@
      */
     public function __construct($message, $errors)
     {
-        $this->message = $message;
+        $this->message = $message . '. ';
         $this->errors = $errors;
+
+        foreach ($this->errors->all() as $message) {
+            $this->message .= ' ' . $message;
+        }
     }
 
     /**
@@ -23,4 +30,4 @@
     {
         return $this->errors;
     }
-} 
+}
Add validation error details to exception message
