class Attempt

The Attempt class encapsulates methods related to multiple attempts at running the same method before actually failing.