Exception: Aerospike::Exceptions::Connection

Inherits:
Aerospike
  • Object
show all
Defined in:
lib/aerospike/aerospike_exception.rb

Instance Attribute Summary

Attributes inherited from Aerospike

#failed_nodes, #result_code

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, node = nil) ⇒ Connection

Returns a new instance of Connection.



65
66
67
# File 'lib/aerospike/aerospike_exception.rb', line 65

def initialize(msg=nil, node=nil)
  super(ResultCode::SERVER_NOT_AVAILABLE, msg, [node])
end