code: def __init__(self, *args, **kwargs):
      super(RestartTestException, self).__init__(*args, **kwargs)
      sys.stderr.write("##restart-test##\n")
      sys.stderr.flush()
      os.environ["FORCE_EXIT_TESTSFAILED"] = "1"
  
file_path: catboost/library/python/testing/yatest_common/yatest/common/errors.py
imports: import os
  import sys
label_desc: Use image node_id 1 to create a new RestartTestException object from inherited base classes: Exception with example: obj = RestartTestException()