in src/replay.py [0:0]
def __init__(self, replay, max, msg=None):
"""Init."""
if msg is None:
msg = "An error occured : "
"Number of retries(%s) is sup max attemps(%s)" % (replay, max)
super(MaxAttempsError, self).__init__(msg)
self.replay = replay
self.max = max