Exceptions¶
The exception hierarchy, all deriving from FastSQSError.
FastSQSError ¶
Bases: Exception
Base class for all FastSQS errors.
RouteNotFoundError ¶
Bases: FastSQSError
Raised when no route handler matches a message and no default handler is set.
InvalidMessageError ¶
Bases: FastSQSError
Raised when a message body has an invalid format or content.
BatchFailedError ¶
Bases: FastSQSError
Raised when partial_batch_failure is False and at least one record
failed: the whole batch is failed (the Lambda invocation raises) so SQS
redelivers every message, instead of silently reporting no failures.
The failed item identifiers are available on :attr:failures.