code: def exit(self, status=0, message=None):
          
          if status:
              self.logger.error(message)
          if self.__parser__:  # pylint: disable-msg=E1101
              self.__parser__.exit(status, message)  # pylint: disable-msg=E1101
          else:
              sys.exit(status)
docs: Delegates to `ArgumentParser.exit`