Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
47 | public static function unknownError(string $hostName, string $errorMessage): CouldNotDownloadCertificate |
||
48 | { |
||
49 | $exception = new static("Could not download certificate for host `{$hostName}` because {$errorMessage}"); |
||
50 | $exception->setErrorDomain($hostName); |
||
51 | |||
52 | return $exception; |
||
53 | } |
||
54 | } |
||
55 |