Exception: Geoblacklight::Exceptions::ExternalDownloadFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Geoblacklight::Exceptions::ExternalDownloadFailed
- Defined in:
- lib/geoblacklight/exceptions.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ExternalDownloadFailed
constructor
A new instance of ExternalDownloadFailed.
-
#message ⇒ String
Message passed from a failed download.
-
#url ⇒ String
URL tried from failed download.
Constructor Details
#initialize(options = {}) ⇒ ExternalDownloadFailed
Returns a new instance of ExternalDownloadFailed.
6 7 8 |
# File 'lib/geoblacklight/exceptions.rb', line 6 def initialize( = {}) @options = end |
Instance Method Details
#message ⇒ String
Message passed from a failed download
20 21 22 |
# File 'lib/geoblacklight/exceptions.rb', line 20 def @options[:message].to_s end |
#url ⇒ String
URL tried from failed download
13 14 15 |
# File 'lib/geoblacklight/exceptions.rb', line 13 def url @options[:url].to_s end |