Exception: Msf::RPC::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Msf::RPC::Exception
- Defined in:
- lib/msf/core/rpc/v10/constants.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ void
constructor
Initializes Exception.
Constructor Details
#initialize(code, message) ⇒ void
Initializes Exception.
16 17 18 19 |
# File 'lib/msf/core/rpc/v10/constants.rb', line 16 def initialize(code, ) self.code = code self. = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
9 10 11 |
# File 'lib/msf/core/rpc/v10/constants.rb', line 9 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
9 10 11 |
# File 'lib/msf/core/rpc/v10/constants.rb', line 9 def @message end |