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

Class ReadFailure

cassandra/__init__.py:563–579  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

561
562
563class ReadFailure(CoordinationFailure):
564 """
565 A subclass of :exc:`CoordinationFailure` for read operations.
566
567 This indicates that the replicas sent a failure message to the coordinator.
568 """
569
570 data_retrieved = None
571 """
572 A boolean indicating whether the requested data was retrieved
573 by the coordinator from any replicas before it timed out the
574 operation
575 """
576
577 def __init__(self, message, data_retrieved=None, **kwargs):
578 CoordinationFailure.__init__(self, message, **kwargs)
579 self.data_retrieved = data_retrieved
580
581
582class WriteFailure(CoordinationFailure):

Callers 1

to_exceptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected