@classmethod
def stop_recording_skipped(cls):
    """
        Stop collecting OptionErrors recorded with the
        record_skipped_option method and return them
        """
    if cls._errors_recorded is None:
        raise Exception('Cannot stop recording before it is started')
    recorded = cls._errors_recorded[:]
    cls._errors_recorded = None
    return recorded
