Your IP : 216.73.217.13


Current Path : /home/rtorresani/www/app/code/Amasty/Base/Exceptions/
Upload File :
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);
    }
}