for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rogierw\RwAcme\Exceptions;
use Exception;
class DomainValidationException extends Exception
{
public static function localHttpChallengeTestFailed(string $domain, string $code): self
return new static(sprintf(
'The local HTTP challenge test for %s received an invalid response with a %s status code.',
$domain,
$code
));
}
public static function localDnsChallengeTestFailed(string $domain): self
"Couldn't fetch DNS records for %s.",
$domain