code: def set_aliases(self, new_value):
          "Set aliases and wrap errors in ValueError"
          try:
              self.aliases = new_value
          except Exception as err:
              raise ValueError("invalid value: {}".format(err)f set_aliases(self, new_value):
          "Set aliases and wrap errors in ValueError"
          try:
              self.aliases = new_value
          except Exception as err:
              raise ValueError("invalid value: {}".format(err))
docs: Set aliases and wrap errors in ValueError