code: def _truncation_error(self, section):
      return errors.DataLossError(
          None,
          None,
          "{} has truncated record in {}".format(
              self.filename, section
          ),
      )
  
file_path: tensorboard/tensorboard/compat/tensorflow_stub/pywrap_tensorflow.py
imports: import array
  import struct
  from .None import errors
  from .io import gfile
label_desc: Use image node_id 4 for calling the PyRecordReader_New obj's underlying member method code with example usage: obj._truncation_error(section) and returns: errors