Exception: Aranha::Parsers::SourceAddress::FetchContentError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/aranha/parsers/source_address/fetch_content_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, request) ⇒ FetchContentError

Returns a new instance of FetchContentError.



9
10
11
12
# File 'lib/aranha/parsers/source_address/fetch_content_error.rb', line 9

def initialize(msg, request)
  super(msg)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



7
8
9
# File 'lib/aranha/parsers/source_address/fetch_content_error.rb', line 7

def request
  @request
end