Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user