code: def _on_error(self):
      _result.write("ERROR\n")
      _result.close()
  
file_path: nni/test/training_service/config/naive_test/naive_tuner.py
imports: import json
  import logging
  import os
  from nni.tuner import Tuner
  from nni.utils import extract_scalar_reward
label_desc: Use image node_id 6 for calling the NaiveTuner obj's underlying member method code with example usage: obj._on_error() without return types