examples/error_task.py
def run(self):
        """Wait a random number of seconds before raising a
        RuntimeException.
        """
        sq.echo("Doing something rash...")
        time.sleep(random.choice([1, 2, 3]))
        raise RuntimeError("Rash choices produced a consequence.")
Wait a random number of seconds before raising a
        RuntimeException.
        
Wait a random number of seconds before raising a
RuntimeException.
Wait a random number of seconds before raising a RuntimeException .
def run(self):
        sq.echo("Doing something rash...")
        time.sleep(random.choice([1, 2, 3]))
        raise RuntimeError("Rash choices produced a consequence.")
def run ( self ) : sq . echo ( "Doing something rash..." ) time . sleep ( random . choice ( [ 1 , 2 , 3 ] ) ) raise RuntimeError ( "Rash choices produced a consequence." )
Wait a random number of seconds before raising a
RuntimeException.
Wait a random number of seconds before raising a RuntimeException .
"""Wait a random number of seconds before raising a
        RuntimeException.
        """
self