12345678910111213141516171819202122232425 |
- """celery.exceptions"""
- class MaxRetriesExceededError(Exception):
- """The tasks max restart limit has been exceeded."""
- class RetryTaskError(Exception):
- """The task is to be retried later."""
- def __init__(self, message, exc, *args, **kwargs):
- self.exc = exc
- super(RetryTaskError, self).__init__(message, exc, *args, **kwargs)
- class NotRegistered(Exception):
- """The task is not registered."""
- class AlreadyRegistered(Exception):
- """The task is already registered."""
- class TimeoutError(Exception):
- """The operation timed out."""
|