reviewer-1.2.x-dev/src/Exception/NotIgnoredException.php
src/Exception/NotIgnoredException.php
<?php
declare(strict_types=1);
namespace Drupal\reviewer\Exception;
/**
* Thrown when trying to get ignored data for a result which is not ignored.
*/
class NotIgnoredException extends \LogicException {
// phpcs:ignore Drupal.Commenting.FunctionComment.Missing
public function __construct(
string $id,
int $code = 0,
?\Throwable $previous = NULL,
) {
parent::__construct(
"$id is not ignored.",
$code,
$previous,
);
}
}
