<?php

namespace VK\Exceptions\Api;

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

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

