parameters: (self, short='Possible bug', detailed='', exit_code=1)
docstring: Print out an error message possibly caused by a bug and exit.
  
          As opposed to the _error function, this also outputs support contact
          information.
docstring_summary: Print out an error message possibly caused by a bug and exit.
docstring_tokens: Print out an error message possibly caused by a bug and exit .
function: def _bug(self, short='Possible bug', detailed='', exit_code=1):
          """
          Print out an error message possibly caused by a bug and exit.
  
          As opposed to the _error function, this also outputs support contact
          information.
  
          """
          messages = [('  ERROR: ', short)]
          if detailed:
              messages.append(('Message: ', detailed))
          messages.append(
              ('Support: ', 'This error may have been caused by a bug in the '
               'code.  If you believe this is the case, please '
               'contact support and provide enough information '
               'to duplicate the issue.\n\nSupport contact: %s' % CONTACT))
          messages.append(('  Trace: ', self._get_trace()))
          self._print_message(messages)
          exit(exit_code)
function_tokens: def _bug ( self , short = 'Possible bug' , detailed = '' , exit_code = 1 ) : messages = [ ( '  ERROR: ' , short ) ] if detailed : messages . append ( ( 'Message: ' , detailed ) ) messages . append ( ( 'Support: ' , 'This error may have been caused by a bug in the ' 'code.  If you believe this is the case, please ' 'contact support and provide enough information ' 'to duplicate the issue.\n\nSupport contact: %s' % CONTACT ) ) messages . append ( ( '  Trace: ' , self . _get_trace ( ) ) ) self . _print_message ( messages ) exit ( exit_code )