This document describes Celery 3.0. For development docs,
go here.
celery.exceptions
This module contains all exceptions used by the Celery API.
-
exception celery.exceptions.AlreadyRegistered[source]
The task is already registered.
-
exception celery.exceptions.AlwaysEagerIgnored[source]
send_task ignores CELERY_ALWAYS_EAGER option
-
exception celery.exceptions.CDeprecationWarning[source]
-
exception celery.exceptions.CPendingDeprecationWarning[source]
-
exception celery.exceptions.ChordError[source]
A task part of the chord raised an exception.
-
exception celery.exceptions.Ignore[source]
A task can raise this to ignore doing state updates.
-
exception celery.exceptions.ImproperlyConfigured[source]
Celery is somehow improperly configured.
-
exception celery.exceptions.IncompleteStream[source]
Found the end of a stream of data, but the data is not yet complete.
-
exception celery.exceptions.InvalidTaskError[source]
The task has invalid data or is not properly constructed.
-
exception celery.exceptions.MaxRetriesExceededError[source]
The tasks max restart limit has been exceeded.
-
exception celery.exceptions.NotConfigured[source]
Celery has not been configured, as no config module has been found.
-
exception celery.exceptions.NotRegistered[source]
The task is not registered.
-
exception celery.exceptions.QueueNotFound[source]
Task routed to a queue not in CELERY_QUEUES.
-
exception celery.exceptions.RetryTaskError(message=None, exc=None, when=None, **kwargs)[source]
The task is to be retried later.
-
exc = None
Exception (if any) that caused the retry to happen.
-
humanize()[source]
-
message = None
Optional message describing context of retry.
-
when = None
Time of retry (ETA), either int or datetime.
-
exception celery.exceptions.SecurityError[source]
Security related exceptions.
Handle with care.
-
exception celery.exceptions.SystemTerminate[source]
Signals that the worker should terminate.
-
exception celery.exceptions.TaskRevokedError[source]
The task has been revoked, so no result available.
-
exception celery.exceptions.TimeoutError[source]
The operation timed out.