code: def error(msg, exit_code):
      sys.stderr.write(msg + "\n")
      sys.exit(exit_code)
  
file_path: nibabel/nibabel/cmdline/parrec2nii.py
imports: import csv
  import os
  import sys
  from optparse import Option, OptionParser
  import numpy
  import numpy.linalg
  import nibabel
  import nibabel.nifti1
  import nibabel.parrec
  from nibabel.affines import apply_affine, from_matvec, to_matvec
  from nibabel.filename_parser import splitext_addext
  from nibabel.mriutils import MRIError, calculate_dwell_time
  from nibabel.orientations import apply_orientation, inv_ornt_aff, io_orientation
  from nibabel.parrec import one_line
  from nibabel.volumeutils import fname_ext_ul_case
label_desc: Use image node_id 3 for calling a global function with example usage: error(msg, exit_code) without return types