Exception: Xgt::Ruby::RpcError

Inherits:
Error
  • Object
show all
Defined in:
lib/xgt/ruby.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, response) ⇒ RpcError

Returns a new instance of RpcError.



14
15
16
17
# File 'lib/xgt/ruby.rb', line 14

def initialize(msg, response)
  super(msg)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



13
14
15
# File 'lib/xgt/ruby.rb', line 13

def response
  @response
end