MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / QueueEmpty

Class QueueEmpty

couchbase/exceptions.py:1574–1588  ·  view source on GitHub ↗

Thrown if a datastructure queue is empty

Source from the content-addressed store, hash-verified

1572
1573
1574class QueueEmpty(CouchbaseException):
1575 """
1576 Thrown if a datastructure queue is empty
1577 """
1578
1579 def __init__(self, message=None, **kwargs):
1580 if message and isinstance(message, str) and 'message' not in kwargs:
1581 kwargs['message'] = message
1582 super().__init__(**kwargs)
1583
1584 def __repr__(self):
1585 return f"{type(self).__name__}({super().__repr__()})"
1586
1587 def __str__(self):
1588 return self.__repr__()
1589
1590
1591class UnsuccessfulOperationException(CouchbaseException):

Callers 2

popMethod · 0.90
popMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected