mirror of
https://github.com/danog/dns.git
synced 2024-11-26 20:14:51 +01:00
Fixed incorrect exception name.
This commit is contained in:
parent
e58d46d3c5
commit
67b0ff1494
@ -117,7 +117,7 @@ class Client {
|
||||
// Defer UDP server connect until needed to allow custom address/port option assignment
|
||||
// after object instantiation.
|
||||
if (empty($this->socket) && !$this->connect()) {
|
||||
return new Failure(new ResolverException(
|
||||
return new Failure(new ResolutionException(
|
||||
sprintf(
|
||||
"Failed connecting to DNS server at %s:%d",
|
||||
$this->serverAddress,
|
||||
|
Loading…
Reference in New Issue
Block a user