python_app_exceptions.retry

Retry logic exception classes.

Classes

RetryExhaustedException

Raised when retry attempts are exhausted.

RetryableError

Raised for errors that can be retried.

Module Contents

class python_app_exceptions.retry.RetryExhaustedException(operation: str, attempts: int)

Bases: python_app_exceptions.base.BaseApplicationException

Raised when retry attempts are exhausted.

class python_app_exceptions.retry.RetryableError(message: str, retry_after: int = None)

Bases: python_app_exceptions.base.BaseApplicationException

Raised for errors that can be retried.

retry_after = None