Exception: Voltdb::ClientResponseStatusError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/voltdb/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client_response, message = "Client response not successful") ⇒ ClientResponseStatusError

Returns a new instance of ClientResponseStatusError.



5
6
7
8
# File 'lib/voltdb/exceptions.rb', line 5

def initialize(client_response, message = "Client response not successful")
  @client_response = client_response
  super(message)
end

Instance Attribute Details

#client_responseObject (readonly)

Returns the value of attribute client_response.



3
4
5
# File 'lib/voltdb/exceptions.rb', line 3

def client_response
  @client_response
end