for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Remorhaz\UCD\Tool\Exception;
use OutOfRangeException;
use Throwable;
final class RangeSetNotFoundException extends OutOfRangeException implements ExceptionInterface
{
/**
* @var string
*/
private $propertyName;
public function __construct(string $propertyName, Throwable $previous = null)
$this->propertyName = $propertyName;
parent::__construct("Range set not found for property '{$this->propertyName}'", 0, $previous);
}
public function getPropertyName(): string
return $this->propertyName;