code: def get_exceptions():
      try:
          return list(reversed(exception_records))
      except Exception as e:
          return str(e)
  
file_path: stable-diffusion-webui/modules/errors.py
imports: import sys
  import textwrap
  import traceback
label_desc: Use image node_id 3 for calling a global function with example usage: get_exceptions() and returns: list, str