<?php

namespace VK\Exceptions\Api;

use VK\Client\VKApiError;
use VK\Exceptions\VKApiException;

class VKApiPollsAccessException extends VKApiException
{
	/**
	 * VKApiPollsAccessException constructor.
	 * @param VkApiError $error
	 */
	public function __construct(VKApiError $error)
	{
		parent::__construct(250, 'Access to poll denied', $error);
	}
}

