Skip to main content

MaxRetriesExceededError

The tasks max restart limit has been exceeded.

Attributes

AttributeTypeDescription
task_argslist = []Positional arguments passed to the task that exceeded its maximum retry limit.
task_kwargsdict = {}Keyword arguments passed to the task that exceeded its maximum retry limit.

Constructor

Signature

def MaxRetriesExceededError(
*args: any,
**kwargs: any
) - > null

Parameters

NameTypeDescription
*argsanyVariable length argument list passed to the parent TaskError class.
**kwargsanyArbitrary keyword arguments containing optional task_args and task_kwargs.

Signature

def MaxRetriesExceededError(
*args: tuple,
**kwargs: dict
) - > null

Parameters

NameTypeDescription
*argstupleVariable length argument list passed to the base TaskError class.
**kwargsdictArbitrary keyword arguments; specifically looks for 'task_args' and 'task_kwargs' to store the state of the failed task.