Exception: Imgfetcha::FileReader::NoUrlsFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Imgfetcha::FileReader::NoUrlsFoundError
- Defined in:
- lib/imgfetcha/errors/no_urls_found_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ NoUrlsFoundError
constructor
A new instance of NoUrlsFoundError.
Constructor Details
#initialize ⇒ NoUrlsFoundError
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
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/imgfetcha/errors/no_urls_found_error.rb', line 4 def @message end |