See
too_many_pages
in the errors guide
.