Error
raised when there was an error while resolving a domain to an IP using a HTTPX::Resolver::Native
resolver.
Attributes
connection | [R] | |
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 90 def initialize(connection, host, message = "Can't resolve #{host}") 91 @connection = connection 92 @host = host 93 super(message) 94 end