Exception: RippleRest::RippleRestError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ripple-rest/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ RippleRestError

Returns a new instance of RippleRestError.


14
15
16
17
# File 'lib/ripple-rest/errors.rb', line 14

def initialize message, response
  super message
  @response = response
end

Instance Attribute Details

#responseString, Hash

Returns:

  • (String, Hash)

13
14
15
# File 'lib/ripple-rest/errors.rb', line 13

def response
  @response
end