Exception: SimpleImagesDownloader::Errors::PermissionsError

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ PermissionsError

Returns a new instance of PermissionsError.



67
68
69
70
# File 'lib/simple_images_downloader/errors.rb', line 67

def initialize(path)
  message = "Couldn't read file #{path} due to permissions error"
  super(message)
end