docs: def _raise_page_error(self):
          """ raise the correct type of page error """
          if hasattr(self, "title"):
              raise PageError(title=self.title)
          else:
              raise PageError(pageid=self.pageid)