class Seahorse::Client::H2::Handler

def error_message(req, error)

def error_message(req, error)
  if error.is_a?(SocketError) && DNS_ERROR_MESSAGES.include?(error.message)
    host = req.endpoint.host
    "unable to connect to `#{host}`; SocketError: #{error.message}"
  else
    error.message
  end
end