Files
Discount-Bandit/app/Exceptions/CouldNotGetProductPricingException.php
2026-10-14 12:03:50 +04:00

16 lines
419 B
PHP

<?php
namespace App\Exceptions;
use App\Models\Link;
use Exception;
use Throwable;
class CouldNotGetProductPricingException extends Exception
{
public function __construct(Link $link, ?Throwable $previous = null)
{
parent::__construct("could not get product pricing (price, used price, stock, shipping, condition) for link {$link->id} with store {$link->store?->name}", previous: $previous);
}
}