class PackerFiles::Core::URLException

The URL Exception is generated if a URL cannot be opened and it's contents cannot be read.

Public Class Methods

new(url, inner_obj) click to toggle source

Constructor

# File lib/PackerFiles/Core/Exceptions.rb, line 55
def initialize(url, inner_obj)
   @super
   self.message = "URL #{url} could not be opened! HTTP Error: #{inner_obj.to_s}"
end