/var/www/html_de/wp-content/plugins/fluent-smtp/includes/Support/ValidationException.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace FluentMail\Includes\Support;

use 
Exception;

class 
ValidationException extends Exception
{
    public function 
__construct($message ""$code Exception $previous NULL$errors = [])
    {
        
$this->errors $errors;

        
parent::__construct($message$code$previous);
    }

    public function 
errors()
    {
        return 
$this->errors;
    }
}