File "ValidationException.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Validator/ValidationException.php
File size: 411 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FluentForm\Framework\Validator;

use Exception;

class ValidationException extends Exception
{
    private $errors;

    public function __construct($message = '', $code = 0, Exception $previous = null, $errors = [])
    {
        $this->errors = $errors;

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

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