Exception: RpcCauseInfo

Inherits:
StandardError
  • Object
show all
Defined in:
lib/calimero/types/rpc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#infoObject (readonly)

Returns the value of attribute info.



29
30
31
# File 'lib/calimero/types/rpc.rb', line 29

def info
  @info
end

#nameObject (readonly)

Returns the value of attribute name.



29
30
31
# File 'lib/calimero/types/rpc.rb', line 29

def name
  @name
end