* @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\Employee\Exception; /** * Class EmployeeCannotChangeItselfException is thrown when employee is trying to change status or delete itself. */ class EmployeeCannotChangeItselfException extends EmployeeException { /** * Code is used when employee which is logged in tries to change its status. */ public const CANNOT_CHANGE_STATUS = 1; }