1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +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 // Defer UDP server connect until needed to allow custom address/port option assignment
// after object instantiation. // after object instantiation.
if (empty($this->socket) && !$this->connect()) { if (empty($this->socket) && !$this->connect()) {
return new Failure(new ResolverException( return new Failure(new ResolutionException(
sprintf( sprintf(
"Failed connecting to DNS server at %s:%d", "Failed connecting to DNS server at %s:%d",
$this->serverAddress, $this->serverAddress,