Exception: SimpleImagesDownloader::Errors::BadUrl

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

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ BadUrl

Returns a new instance of BadUrl.



25
26
27
28
# File 'lib/simple_images_downloader/errors.rb', line 25

def initialize(url)
  message = "The is not valid URL #{url}"
  super(message)
end