Module rugged.exceptions.timeout_error

Expand source code
from celery.exceptions import TimeoutError
from rugged.lib.logger import get_logger

log = get_logger()


class RuggedTimeoutError(TimeoutError):

    def __init__(self, msg="The operation exceeded the given deadline."):
        self.msg = msg
        log.debug(f"{ self.__class__.__name__ }: { msg }")

    def __str__(self):
        return self.msg

Classes

class RuggedTimeoutError (msg='The operation exceeded the given deadline.')

The operation timed out.

Expand source code
class RuggedTimeoutError(TimeoutError):

    def __init__(self, msg="The operation exceeded the given deadline."):
        self.msg = msg
        log.debug(f"{ self.__class__.__name__ }: { msg }")

    def __str__(self):
        return self.msg

Ancestors

  • celery.exceptions.TimeoutError
  • celery.exceptions.TaskError
  • celery.exceptions.CeleryError
  • builtins.Exception
  • builtins.BaseException