Files
IPB/system/3rd_party/Pdp/UnableToLoadPublicSuffixList.php
2025-12-19 16:27:35 -08:00

17 lines
433 B
PHP

<?php
declare(strict_types=1);
namespace Pdp;
use InvalidArgumentException;
use Throwable;
final class UnableToLoadPublicSuffixList extends InvalidArgumentException implements CannotProcessHost
{
public static function dueToInvalidRule(?string $line, Throwable $exception): self
{
return new self('The following rule "'.($line ?? 'NULL').'" could not be processed because it is invalid.', 0, $exception);
}
}