Exception: HTTPX::NativeResolveError

Inherits:
ResolveError show all
Defined in:
lib/httpx/errors.rb,
sig/errors.rbs

Overview

Error raised when there was an error while resolving a domain to an IP using a HTTPX::Resolver::Native resolver.

Instance Attribute Summary collapse

Instance Attribute Details

#connection ⇒ Connection?

Returns the value of attribute connection.

Returns:



92
93
94
# File 'lib/httpx/errors.rb', line 92

def connection
  @connection
end

#host ⇒ String (readonly)

Returns the value of attribute host.

Returns:

  • (String)


90
91
92
# File 'lib/httpx/errors.rb', line 90

def host
  @host
end