UnableToGetDNSRecord.php
Namespace
Egulias\EmailValidator\Result\ReasonFile
-
vendor/
egulias/ email-validator/ src/ Result/ Reason/ UnableToGetDNSRecord.php
View source
<?php
namespace Egulias\EmailValidator\Result\Reason;
/**
* Used on SERVFAIL, TIMEOUT or other runtime and network errors
*/
class UnableToGetDNSRecord extends NoDNSRecord {
public function code() : int {
return 3;
}
public function description() : string {
return 'Unable to get DNS records for the host';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UnableToGetDNSRecord | Used on SERVFAIL, TIMEOUT or other runtime and network errors |