docs: def raise_for_missing_default(self, line: str, position: int, name: str) -> None:
          """Raise an exeception if the name does not belong to the default namespace."""
          if not self.default_namespace:
              raise ValueError('Default namespace is not set')
  
          if name not in self.default_namespace:
              raise MissingDefaultNameWarning(self.get_line_number(), line, position, name)