Exception: WPScan::Error::TargetDown
- Defined in:
- lib/wpscan/errors/http.rb
Overview
Target Down Error
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ TargetDown
constructor
A new instance of TargetDown.
- #to_s ⇒ Object
Constructor Details
#initialize(response) ⇒ TargetDown
Returns a new instance of TargetDown.
53 54 55 |
# File 'lib/wpscan/errors/http.rb', line 53 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
51 52 53 |
# File 'lib/wpscan/errors/http.rb', line 51 def response @response end |
Instance Method Details
#to_s ⇒ Object
57 58 59 |
# File 'lib/wpscan/errors/http.rb', line 57 def to_s "The url supplied '#{response.request.url}' seems to be down (#{response.})" end |