If this argument is set and retry is called while
an exception was raised (sys.exc_info() is set)
it will attempt to re-raise the current exception.

If no exception was raised it will raise the exc
argument provided.

countdown (float): Time in seconds to delay the retry for.
eta (~datetime.datetime): Explicit time and date to run the

retry at.

max_retries (int): If set, overrides the default retry limit for

this execution. Changes to this parameter don’t propagate to
subsequent task retry attempts. A value of None,
means “use the default”, so if you want infinite retries you’d
have to set the max_retries attribute of the task to
None first.

@Retry exception, that tells the worker to mark
the task as being retried. Note that this means the task
will be marked as failed if the task raises an exception,
or successful if it returns after the retry call.

retval (Any): The return value of the task.
task_id (str): Unique id of the executed task.
args (Tuple): Original arguments for the executed task.
kwargs (Dict): Original keyword arguments for the executed task.

exc (Exception): The exception raised by the task.
task_id (str): Unique id of the failed task.
args (Tuple): Original arguments for the task that failed.
kwargs (Dict): Original keyword arguments for the task that failed.
einfo (~billiard.einfo.ExceptionInfo): Exception information.