docs: def discard(self):  # pylint: disable=no-self-use
          """
          Clears uncommited changes.
  
          :raise pyPluribus.exceptions.ConfigurationDiscardError: If the configuration applied cannot be discarded.
          """
          try:
              self.rollback(0)
          except pyPluribus.exceptions.RollbackError as rbackerr:
              raise pyPluribus.exceptions.ConfigurationDiscardError("Cannot discard configuration: {err}.\
                  ".format(err=rbackerr))