Exception: Crabfarm::CrawlerError

Inherits:
CrawlerBaseError show all
Defined in:
lib/crabfarm/errors.rb

Instance Method Summary collapse

Methods inherited from CrawlerBaseError

#to_json

Methods inherited from ApiError

#code, #to_json

Constructor Details

#initialize(_exc) ⇒ CrawlerError

Returns a new instance of CrawlerError.



45
46
47
# File 'lib/crabfarm/errors.rb', line 45

def initialize(_exc)
  super _exc.to_s, _exc.backtrace
end