code: def exit_with_error(msg):
      '''
      :param msg: string message to print before exiting
  
      Print the error message, as well as a blurb on where to find the
      job workspaces
      '''
      msg += '\n'
      msg += 'Local job workspaces can be found in: ' + str(environ.get('DX_TEST_JOB_HOMEDIRS'))
      sys.exit(msgf exit_with_error(msg):
      '''
      :param msg: string message to print before exiting
  
      Print the error message, as well as a blurb on where to find the
      job workspaces
      '''
      msg += '\n'
      msg += 'Local job workspaces can be found in: ' + str(environ.get('DX_TEST_JOB_HOMEDIRS'))
      sys.exit(msg)
docs: :param msg: string message to print before exiting
  
      Print the error message, as well as a blurb on where to find the
      job workspaces