Exception: SimpleImagesDownloader::Errors::ConnectionError

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

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ ConnectionError

Returns a new instance of ConnectionError.



46
47
48
49
# File 'lib/simple_images_downloader/errors.rb', line 46

def initialize(uri)
  message = "There was connection error during downloading file for #{uri}"
  super(message)
end