Exception: FTW::Agent::TooManyRedirects

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ftw/agent.rb

Overview

Thrown when too many redirects are encountered See also Configuration::REDIRECTION_LIMIT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason, response) ⇒ TooManyRedirects

Returns a new instance of TooManyRedirects.



47
48
49
50
# File 'lib/ftw/agent.rb', line 47

def initialize(reason, response)
  super(reason)
  @response = response
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



46
47
48
# File 'lib/ftw/agent.rb', line 46

def response
  @response
end