diff --git a/app/Exceptions/FormValidationException.php b/app/Exceptions/FormValidationException.php index 6f7c205..8606213 100644 --- a/app/Exceptions/FormValidationException.php +++ b/app/Exceptions/FormValidationException.php @@ -13,4 +13,9 @@ class FormValidationException extends RuntimeException $this->errors = $errors; parent::__construct($message, $code, $previous); } + + public function getErrors() + { + return $this->errors; + } }