* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Module\Exception; use PrestaShop\PrestaShop\Core\Domain\Exception\DomainException; /** * Base exception for Module sub-domain */ class ModuleException extends DomainException { /** * When module cannot be used because it is disabled */ public const IS_DISABLED = 1; /** * When module cannot be used because it is deleted */ public const IS_DELETED = 2; }