parameters: (self, msg)
docstring: error(msg : string)
  
          Print a usage message incorporating 'msg' to stderr and exit.
          If you override this in a subclass, it should not return -- it
          should either exit or raise an exception.
docstring_summary: error(msg : string)
docstring_tokens: error ( msg : string )
function: def error(self, msg):
          """error(msg : string)
  
          Print a usage message incorporating 'msg' to stderr and exit.
          If you override this in a subclass, it should not return -- it
          should either exit or raise an exception.
          """
          self.print_usage(sys.stderr)
          self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
function_tokens: def error ( self , msg ) : self . print_usage ( sys . stderr ) self . exit ( 2 , "%s: error: %s\n" % ( self . get_prog_name ( ) , msg ) )