Source code for celery_cloud.exceptions.runner_exceptions

from .runner_base_exception import (
    RunnerBaseException,
)


[docs] class BackendException(RunnerBaseException): """Domain exception for backend errors""" ...
[docs] class EventDecodeException(RunnerBaseException): """Domain exception for message decoding errors""" ...
[docs] class MessageDecodeException(RunnerBaseException): """Domain exception for message decoding errors""" ...
[docs] class TaskDecodeException(RunnerBaseException): """Domain exception for task decoding errors""" ...
[docs] class TaskExecutionException(RunnerBaseException): """Domain exception for execution exceptions""" ...
[docs] class DuplicateTaskException(RunnerBaseException): """Domain exception: the task already exists in the backend. SQS delivers messages at least once, so this is the expected way a duplicate delivery shows up. It must not be executed again. """ ...
[docs] class ResultTooLargeException(RunnerBaseException): """Domain exception: the task result does not fit in a backend item. Retrying cannot help, so it is stored as a task failure instead of being treated as a backend outage. """ ...
[docs] class RevokedTaskException(RunnerBaseException): """Domain exception: the task was revoked before it started.""" ...