2025-12-19 13:26:57 +00:00
|
|
|
<?php
|
|
|
|
|
|
2026-05-15 18:26:24 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2025-12-19 13:26:57 +00:00
|
|
|
namespace Blax\Shop\Exceptions;
|
|
|
|
|
|
|
|
|
|
use Exception;
|
|
|
|
|
|
|
|
|
|
class CartDatesRequiredException extends Exception
|
|
|
|
|
{
|
|
|
|
|
public function __construct(string $message = "Both 'from' and 'until' dates must be provided together, or both omitted.")
|
|
|
|
|
{
|
|
|
|
|
parent::__construct($message);
|
|
|
|
|
}
|
|
|
|
|
}
|