* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\CustomerService\Exception; use PrestaShop\PrestaShop\Core\Domain\Exception\DomainException; /** * Base exception for customer service subdomain */ class CustomerServiceException extends DomainException { /** * Code is used when there is an issue with creating customer message */ public const FAILED_TO_ADD_CUSTOMER_MESSAGE = 10; /** * Code is used when there is an issue when updating customers thread status */ public const FAILED_TO_UPDATE_STATUS = 20; /** * Code is used when comment is invalid */ public const INVALID_COMMENT = 30; }