MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / WriteFailure

Class WriteFailure

cassandra/__init__.py:582–596  ·  view source on GitHub ↗

A subclass of :exc:`CoordinationFailure` for write operations. This indicates that the replicas sent a failure message to the coordinator.

Source from the content-addressed store, hash-verified

580
581
582class WriteFailure(CoordinationFailure):
583 """
584 A subclass of :exc:`CoordinationFailure` for write operations.
585
586 This indicates that the replicas sent a failure message to the coordinator.
587 """
588
589 write_type = None
590 """
591 The type of write operation, enum on :class:`~cassandra.policies.WriteType`
592 """
593
594 def __init__(self, message, write_type=None, **kwargs):
595 CoordinationFailure.__init__(self, message, **kwargs)
596 self.write_type = write_type
597
598
599class FunctionFailure(RequestExecutionException):

Callers 1

to_exceptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected