code: def _on_error(self):
      _result.write("ERROR\n")
      _result.close()
  
file_path: nni/test/training_service/config/naive_test/naive_assessor.py
imports: import logging
  import os
  from nni.assessor import Assessor, AssessResult
label_desc: Use image node_id 4 for calling the NaiveAssessor obj's underlying member method code with example usage: obj._on_error() without return types