@property
    def errors(self):
        return self.form.errors.get(self.name, self.form.error_class())
Register a NodeResolver instance for a particular subclass of NodePackage.
dataset/ETHPy150Open django/django/django/forms/boundfield.py/BoundField.errors--crossover with--dataset/ETHPy150Open pantsbuild/pants/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py/NodeResolve.register_resolver_for_type