I originally coded this as a warning, but thought it might be better to error out. This also makes it easier to handle when there are no valid pages generated because all document blocks have errors and were discarded. I'm open to suggestions, but I'd like to start here and make improvements.