Exception: RpcCauseInfo
- Inherits:
-
StandardError
- Object
- StandardError
- RpcCauseInfo
- Defined in:
- lib/calimero/types/rpc.rb
Instance Attribute Summary collapse
-
#info ⇒ Object
readonly
Returns the value of attribute info.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, info) ⇒ RpcCauseInfo
constructor
A new instance of RpcCauseInfo.
Constructor Details
#initialize(name, info) ⇒ RpcCauseInfo
Returns a new instance of RpcCauseInfo.
31 32 33 34 35 |
# File 'lib/calimero/types/rpc.rb', line 31 def initialize(name, info) @name = name @info = info super(info[:message]) end |
Instance Attribute Details
#info ⇒ Object (readonly)
Returns the value of attribute info.
29 30 31 |
# File 'lib/calimero/types/rpc.rb', line 29 def info @info end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
29 30 31 |
# File 'lib/calimero/types/rpc.rb', line 29 def name @name end |