if current_type is not attr_set_cast:
                    error_fields.append((name, field))
                    self._register_error(name, err)