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\Runtime\Exception;
use LogicException;
use Remorhaz\JSON\Path\Value\LiteralValueInterface;
use Throwable;
final class LiteralEvaluationFailedException extends LogicException implements ExceptionInterface
{
private $literal;
public function __construct(LiteralValueInterface $literal, Throwable $previous = null)
$this->literal = $literal;
parent::__construct("Failed to evaluate literal value", 0, $previous);
}
public function getLiteral(): LiteralValueInterface
return $this->literal;