code: def handleError(self, test, err, capt=None):
          
          if err[0] == errors.BlockedTest:
              self.__insert_test_result(constants.State.BLOCKED, test, err)
              self.error_handled = True
              raise SkipTest(err[1])
              return True
  
          elif err[0] == errors.DeprecatedTest:
              self.__insert_test_result(constants.State.DEPRECATED, test, err)
              self.error_handled = True
              raise SkipTest(err[1])
              return True
  
          elif err[0] == errors.SkipTest:
              self.__insert_test_result(constants.State.SKIP, test, err)
              self.error_handled = True
              raise SkipTest(err[1])
              return True
docs: After a test error, we want to record testcase run information.
          "Error" also encompasses any states other than Pass or Fail, so we
          check for those first.