Exception: PackerFiles::Core::URLException
- Defined in:
- lib/PackerFiles/Core/Exceptions.rb
Overview
The URL Exception is generated if a URL cannot be opened and it’s contents cannot be read.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(url, inner_obj) ⇒ URLException
constructor
Constructor.
Constructor Details
#initialize(url, inner_obj) ⇒ URLException
Constructor
55 56 57 58 |
# File 'lib/PackerFiles/Core/Exceptions.rb', line 55 def initialize(url, inner_obj) @super self. = "URL #{url} could not be opened! HTTP Error: #{inner_obj.to_s}" end |