exception pikepdf.PdfError

General pikepdf-specific exception.

exception pikepdf.PasswordError

Exception thrown when the supplied password is incorrect.

exception pikepdf.ForeignObjectError

Exception thrown when a complex object was copied into a foreign PDF without using Pdf.copy_foreign().

exception pikepdf.OutlineStructureError

Indicates an error in the outline data structure.

Exception thrown when an /Outlines object violates constraints imposed by the PDF 1.7 Reference Manual.

exception pikepdf.UnsupportedImageTypeError

This image is formatted in a way pikepdf does not supported.

Exception thrown when attempting to manipulate a PDF image of a complex type that pikepdf does not currently support.

exception pikepdf.DataDecodingError

Exception thrown when a stream object in a PDF is malformed and cannot be decoded.

exception pikepdf.DeletedObjectError

Exception thrown when accessing a Object that relies on a Pdf that was deleted using the Python delete statement or collected by the Python garbage collector. To resolve this error, you must retain a reference to the Pdf for the whole time you may be accessing it.

New in version 7.0.