Skip to content

Exceptions

Batch processing exceptions

CLASS DESCRIPTION
BatchProcessingError

When all batch records failed to be processed

SQSFifoCircuitBreakerError

Signals a record not processed due to the SQS FIFO processing being interrupted

SQSFifoMessageGroupCircuitBreakerError

Signals a record not processed due to the SQS FIFO message group processing being interrupted

BatchProcessingError

BatchProcessingError(
    msg="",
    child_exceptions: list[ExceptionInfo] | None = None,
)

Bases: BaseBatchProcessingError

When all batch records failed to be processed

Source code in aws_lambda_powertools/utilities/batch/exceptions.py
33
34
def __init__(self, msg="", child_exceptions: list[ExceptionInfo] | None = None):
    super().__init__(msg, child_exceptions)

SQSFifoCircuitBreakerError

Bases: Exception

Signals a record not processed due to the SQS FIFO processing being interrupted

SQSFifoMessageGroupCircuitBreakerError

Bases: Exception

Signals a record not processed due to the SQS FIFO message group processing being interrupted