### SUMMARY

Update validate-modules to report messages using named error codes like `version-added` instead of error numbers like `E305`.

This would match the behavior of other tools we use, such as pylint, which have one named error code per rule. This will also make ignore entries much easier to read.

Doing this before 2.9 is released will avoid potential backwards compatibility issues with ignore entries in collections.

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

validate-modules

errors = []
        try:
            schema(doc)
        except Exception as e:
            for error in e.errors:
                error.data = doc
            errors.extend(e.errors)
        for error in errors:
            path = [str(p) for p in error.path]
            if isinstance(error.data, dict):
                error_message = humanize_error(error.data, error)
            else:
                error_message = error
            if path:
                combined_path = '%s.%s' % (name, '.'.join(path))
            else:
                combined_path = name
            self.reporter.error(
                path=self.object_path,
                code=error_code,
                msg='%s: %s' % (combined_path, error_message)
            )
    def _validate_docs(self):