Exception: Msf::RPC::JSON::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Msf::RPC::JSON::ClientError
- Defined in:
- lib/msf/core/rpc/json/error.rb
Overview
Base class for all Msf::RPC::JSON client exceptions.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message = nil, response: nil) ⇒ ClientError
constructor
Instantiate a ClientError object.
Constructor Details
#initialize(message = nil, response: nil) ⇒ ClientError
Instantiate a ClientError object.
145 146 147 148 |
# File 'lib/msf/core/rpc/json/error.rb', line 145 def initialize( = nil, response: nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
139 140 141 |
# File 'lib/msf/core/rpc/json/error.rb', line 139 def response @response end |