Exception: Cassandra::Errors::WriteError

Inherits:
StandardError
  • Object
show all
Includes:
ExecutionError
Defined in:
lib/cassandra/errors.rb

Overview

Raised when a write request fails.

Instance Attribute Summary collapse

Method Summary

Methods included from ExecutionError

#execution_info

Instance Attribute Details

#consistencySymbol (readonly)



344
345
346
# File 'lib/cassandra/errors.rb', line 344

def consistency
  @consistency
end

#failedInteger (readonly)



350
351
352
# File 'lib/cassandra/errors.rb', line 350

def failed
  @failed
end

#failures_by_nodeHash<IPAddr, Integer> (readonly)



353
354
355
# File 'lib/cassandra/errors.rb', line 353

def failures_by_node
  @failures_by_node
end

#receivedInteger (readonly)



348
349
350
# File 'lib/cassandra/errors.rb', line 348

def received
  @received
end

#requiredInteger (readonly)



346
347
348
# File 'lib/cassandra/errors.rb', line 346

def required
  @required
end

#typeSymbol (readonly)



341
342
343
# File 'lib/cassandra/errors.rb', line 341

def type
  @type
end