* @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\Carrier\Exception; /** * Is thrown when carrier is invalid */ class CarrierConstraintException extends CarrierException { /** * Thrown when provided carrier id is not valid */ public const INVALID_ID = 10; /** * Thrown when carrier reference id is not valid */ public const INVALID_REFERENCE_ID = 20; }