Error
raised when there was an error while resolving a domain to an IP using a HTTPX::Resolver::Native
resolver.
Attributes
connection | [RW] | |
host | [R] |
Public Class methods
new(connection, host, message = "Can't resolve #{host}")
initializes the exception with the connection
it refers to, the host
domain which failed to resolve, and the error message
.
[show source]
# File lib/httpx/errors.rb 86 def initialize(connection, host, message = "Can't resolve #{host}") 87 @connection = connection 88 @host = host 89 super(message) 90 end