code: def _print_error_and_exit(msg, exit_status):
      if msg:
          click.echo(f"guild: {msg}", err=True)
      sys.exit(exit_status)
  
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 7 for calling a global function with example usage: _print_error_and_exit(msg, exit_status) without return types