Exception: MessagebusApi::RemoteServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/messagebus_ruby_api/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, result = {}) ⇒ RemoteServerError

Returns a new instance of RemoteServerError.



31
32
33
34
# File 'lib/messagebus_ruby_api/errors.rb', line 31

def initialize(message, result={})
  super(message)
  @result = result
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



30
31
32
# File 'lib/messagebus_ruby_api/errors.rb', line 30

def result
  @result
end