Exception: Imgfetcha::FileReader::NoUrlsFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/imgfetcha/errors/no_urls_found_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNoUrlsFoundError

Returns a new instance of NoUrlsFoundError.



6
7
8
# File 'lib/imgfetcha/errors/no_urls_found_error.rb', line 6

def initialize
  @message = "The input file doesn't seem to have any valid URLs"
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/imgfetcha/errors/no_urls_found_error.rb', line 4

def message
  @message
end