Exception: SimpleImagesDownloader::Errors::DestinationIsNotDirectory

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ DestinationIsNotDirectory

Returns a new instance of DestinationIsNotDirectory.



60
61
62
63
# File 'lib/simple_images_downloader/errors.rb', line 60

def initialize(path)
  message = "The destination - #{path} is not directory"
  super(message)
end