* @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\Position\Exception; use PrestaShop\PrestaShop\Core\Domain\Exception\DomainException; /** * Exception thrown when invalid data is used to create a RowPosition value object. */ class PositionConstraintException extends DomainException { public const INVALID_ROW_ID = 10; public const INVALID_OLD_POSITION = 20; public const INVALID_NEW_POSITION = 30; }