Exception: Crabfarm::CrawlerError

Inherits:
Error
  • Object
show all
Defined in:
lib/crabfarm/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_exc) ⇒ CrawlerError

Returns a new instance of CrawlerError.



34
35
36
37
# File 'lib/crabfarm/errors.rb', line 34

def initialize(_exc)
  super
  @original = _exc
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original.



32
33
34
# File 'lib/crabfarm/errors.rb', line 32

def original
  @original
end