Exception: Botz::HtmlScraperMacro::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/botz/html_scraper_macro.rb

Overview

Scraper error class

Instance Method Summary collapse

Constructor Details

#initialize(scraper_class, url, errors) ⇒ Error

Returns a new instance of Error.



14
15
16
# File 'lib/botz/html_scraper_macro.rb', line 14

def initialize(scraper_class, url, errors)
  super("#{scraper_class}(#{url}) # #{errors.full_messages}")
end