| Current Path : /home/rtorresani/www/app/code/Amasty/Base/Exceptions/ |
| Current File : //home/rtorresani/www/app/code/Amasty/Base/Exceptions/MasterAttributeCodeDoesntSet.php |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Magento 2 Base Package
*/
namespace Amasty\Base\Exceptions;
class MasterAttributeCodeDoesntSet extends \Magento\Framework\Exception\LocalizedException
{
/**
* @param \Magento\Framework\Phrase $phrase
* @param \Exception $cause
* @param int $code
*/
public function __construct(\Magento\Framework\Phrase $phrase = null, \Exception $cause = null, $code = 0)
{
if (!$phrase) {
$phrase = __('Master Attribute Code doesn\'t set.');
}
parent::__construct($phrase, $cause, (int) $code);
}
}