code: def reset_error_status(self):
          
          try:
              return self.feature_error or self.scenario_error
          finally:
              self.feature_error = False
              self.scenario_error = False
docs: Check if the dyn_env has got any exception when executing the steps and restore the value of status to False.
          :return: True if any exception has been raised when executing steps