Class: Metasploit::Framework::DataService::RemoteHTTPDataService::ErrorResponse

Inherits:
ResponseWrapper
  • Object
show all
Defined in:
lib/metasploit/framework/data_service/remote/http/core.rb

Overview

Error response wrapper There is a response object, however, the request was unsuccessful.

Direct Known Subclasses

FailedResponse

Instance Attribute Summary

Attributes inherited from ResponseWrapper

#response

Instance Method Summary collapse

Methods inherited from ResponseWrapper

#response_body, #to_s

Constructor Details

#initialize(response) ⇒ ErrorResponse

Returns a new instance of ErrorResponse.



273
274
275
# File 'lib/metasploit/framework/data_service/remote/http/core.rb', line 273

def initialize(response)
  super(response)
end