Exception: SimpleImagesDownloader::Errors::RedirectError

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

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ RedirectError

Returns a new instance of RedirectError.



39
40
41
42
# File 'lib/simple_images_downloader/errors.rb', line 39

def initialize(uri)
  message = "The url has a redirect #{uri}"
  super(message)
end