code: def system_exit_params(e):
      if isinstance(e.code, tuple) and len(e.code) == 2:
          msg, code = e.code
      elif isinstance(e.code, int):
          msg, code = None, e.code
      else:
          msg, code = e.code, exit_code.DEFAULT_ERROR
      return msg, code
  
file_path: guildai/guild/main.py
imports: import os
  import sys
  import click
  from guild import click_util
  from guild import exit_code
  from guild.commands import main
label_desc: Use image node_id 9 for calling a global function with example usage: system_exit_params(e) and returns: msg,  code