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 78 def initialize(connection, host, message = "Can't resolve #{host}") 79 @connection = connection 80 @host = host 81 super(message) 82 end