Exception: Aerospike::Exceptions::CommandRejected

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) ⇒ CommandRejected

Returns a new instance of CommandRejected.



89
90
91
# File 'lib/aerospike/aerospike_exception.rb', line 89

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