code: def abort(error):
      print(
          "*WARNING* Command line API documentation not generated: %s"
          % error
      )
      exit()
  
file_path: dipy/doc/tools/docgen_cmd.py
imports: import os
  from os.path import join
  from subprocess import Popen, PIPE, CalledProcessError
  import sys
  import importlib
  import inspect
  from packaging.version import Version
label_desc: Use image node_id 2 for calling a global function with example usage: abort(error) without return types