|
@@ -57,14 +57,11 @@ class MaxRetriesExceededError(Exception):
|
|
|
pass
|
|
|
|
|
|
|
|
|
-class RetryTaskError(Exception):
|
|
|
- """The task is to be retried later."""
|
|
|
-
|
|
|
- def __init__(self, message, exc, *args, **kwargs):
|
|
|
- self.exc = exc
|
|
|
- Exception.__init__(self, message, exc, *args, **kwargs)
|
|
|
-
|
|
|
-
|
|
|
class TaskRevokedError(Exception):
|
|
|
"""The task has been revoked, so no result available."""
|
|
|
pass
|
|
|
+
|
|
|
+
|
|
|
+class NotConfigured(UserWarning):
|
|
|
+ """Celery has not been configured, as no config module has been found."""
|
|
|
+
|