Exception: SimpleImagesDownloader::Errors::EmptyResponse

Inherits:
BaseError
  • Object
show all
Defined in:
lib/simple_images_downloader/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ EmptyResponse

Returns a new instance of EmptyResponse.



74
75
76
77
# File 'lib/simple_images_downloader/errors.rb', line 74

def initialize(uri)
  message = "Nothing returned from request #{uri}"
  super(message)
end