docs: def next(self, error_out=False):
          """Returns a :class:`Pagination` object for the next page."""
          assert self.query is not None, 'a query object is required ' \
                                         'for this method to work'
          return self.query.paginate(self.page + 1, self.per_page, error_out)