think\exception\ValidateException::__construct PHP Метод

__construct() публичный Метод

public __construct ( $error )
    public function __construct($error)
    {
        $this->error = $error;
        $this->message = is_array($error) ? implode("\n\r", $error) : $error;
    }
ValidateException