yeah, PagesError could just as easily be done as a nested struct.  I don't have strong feelings about it though.