This exception is raised when there is a communication error when connecting to the forge
Return a multiline version of the error message
@return [String] the multiline version of the error message
# File lib/puppet/forge/errors.rb, line 61 def multiline "Could not connect to #{@uri} There was a network communications problem The error we caught said '#{@detail}' Check your network connection and try again ".chomp end
@option options [String] :uri The URI that failed @option options [String] :original the original exception
# File lib/puppet/forge/errors.rb, line 49 def initialize(options) @uri = options[:uri] original = options[:original] @detail = original.message message = "Unable to connect to the server at #{@uri}. Detail: #{@detail}." super(message, original) end