for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Remorhaz\JSON\Path\Query\Exception;
use OutOfRangeException;
use Throwable;
final class ReferenceNotFoundException extends OutOfRangeException implements ExceptionInterface
{
private $referenceId;
public function __construct(int $referenceId, Throwable $previous = null)
$this->referenceId = $referenceId;
parent::__construct("Reference #{$this->referenceId} not found", 0, $previous);
}
public function getReferenceId(): int
return $this->referenceId;