<?php

namespace VK\Exceptions\Api;

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

class VKApiVideoCommentsClosedException extends VKApiException
{
	/**
	 * VKApiVideoCommentsClosedException constructor.
	 * @param VkApiError $error
	 */
	public function __construct(VKApiError $error)
	{
		parent::__construct(801, 'Comments for this video are closed', $error);
	}
}

