async_wrapper.exception.py

exception async_wrapper.exception.PendingError

Bases: Exception

Exception used exclusively for pending values.

This exception is used within the context of handling soon values.

exception async_wrapper.exception.QueueError

Bases: Exception

Base exception for queue-related errors.

This exception serves as the base class for various queue-related exceptions.

exception async_wrapper.exception.QueueEmptyError

Bases: QueueError

Exception raised when attempting to retrieve an item from an empty queue.

This exception occurs when trying to get an item from a queue that has no available items.

exception async_wrapper.exception.QueueFullError

Bases: QueueError

Exception raised when attempting to add an item to a full queue.

This exception occurs when trying to put an item into a queue that has reached its capacity.

exception async_wrapper.exception.QueueClosedError

Bases: QueueError

Error that occurs when attempting to get from or put into a closed queue.

This error is different from QueueBrokenError.

QueueBrokenError is an unintended error.

QueueClosedError is an error deliberately raised.

exception async_wrapper.exception.QueueBrokenError

Bases: QueueError

Error that occurs when trying to get from or put into a closed queue.

This error is different from QueueClosedError.

QueueClosedError is an error deliberately raised.

QueueBrokenError is an unintended error.