Exception: SimpleImagesDownloader::Errors::MissingFileError

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingFileError

Returns a new instance of MissingFileError.



18
19
20
21
# File 'lib/simple_images_downloader/errors.rb', line 18

def initialize(path)
  message = "File under #{path} path is absent"
  super(message)
end