code: def run_main_error_group():
    
    test = htf.Test(htf.PhaseGroup(
        setup=[setup_phase],
        main=[error_main_phase, main_phase],
        teardown=[teardown_phase],
    ))
    test.execute()
docs: Run the phase group example where an error occurs in a main phase.
  
    The main phase in this example is terminal.  The PhaseGroup was entered
    because the setup phases ran without error, so the teardown phases are run.
    The other main phase is skipped.