We want to produce a warning (on stderr) when a user attemps to use pdfly cat
to extract a range of pages that is outside the number of pages of the PDF document processed.
We already have a unit test regarding this, so this feature could considered DONE when this unit test will pass:
https://github.com/py-pdf/pdfly/blob/main/tests/test_extract_images.py#L20