Skip to content

Exception

exception

PendingError

Bases: Exception

Exception used exclusively for pending values.

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

QueueError

Bases: Exception

Base exception for queue-related errors.

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

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.

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.

QueueClosedError

Bases: QueueError

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

This error is different from QueueBrokenError.

QueueBrokenError

Bases: QueueError

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

This error is different from QueueClosedError.

QueueRestrictedError

Bases: QueueError

queue is restricted but used

DisposableError

Bases: Exception

Base exception for disposable-related errors.

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

AlreadyDisposedError

Bases: DisposableError

Indicates that an attempt was made to use a disposable that has already been disposed of.