<?php

namespace VK\Exceptions\Api;

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

class VKApiPermissionException extends VKApiException
{
	/**
	 * VKApiPermissionException constructor.
	 * @param VkApiError $error
	 */
	public function __construct(VKApiError $error)
	{
		parent::__construct(7, 'Permission to perform this action is denied', $error);
	}
}

