1
0
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:
Danack 2014-11-10 14:20:38 +00:00
parent e58d46d3c5
commit 67b0ff1494

View File

@ -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,