This document is for Celery's development version, which can be significantly different from previous releases. Get old docs here: 2.5.

celery.exceptions

celery.exceptions

This module contains Celery-specific exceptions.

copyright:
  1. 2009 - 2012 by Ask Solem.
license:

BSD, see LICENSE for more details.

exception celery.exceptions.AlreadyRegistered

The task is already registered.

exception celery.exceptions.AlwaysEagerIgnored

send_task ignores CELERY_ALWAYS_EAGER option

exception celery.exceptions.CDeprecationWarning
exception celery.exceptions.CPendingDeprecationWarning
exception celery.exceptions.ImproperlyConfigured

Celery is somehow improperly configured.

exception celery.exceptions.IncompleteStream

Found the end of a stream of data, but the data is not yet complete.

exception celery.exceptions.InvalidTaskError

The task has invalid data or is not properly constructed.

exception celery.exceptions.MaxRetriesExceededError

The tasks max restart limit has been exceeded.

exception celery.exceptions.NotConfigured

Celery has not been configured, as no config module has been found.

exception celery.exceptions.NotRegistered

The task is not registered.

exception celery.exceptions.QueueNotFound

Task routed to a queue not in CELERY_QUEUES.

exception celery.exceptions.RetryTaskError(message, exc, *args, **kwargs)

The task is to be retried later.

exception celery.exceptions.SecurityError

Security related exceptions.

Handle with care.

exception celery.exceptions.SystemTerminate

Signals that the worker should terminate.

exception celery.exceptions.TaskRevokedError

The task has been revoked, so no result available.

exception celery.exceptions.TimeoutError

The operation timed out.

Previous topic

celery.utils.mail

Next topic

celery.loaders

This Page