Exceptions¶
-
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
¶ Exception throw when an
/Outlines
object violates constraints imposed by the PDF reference manual.
-
exception
pikepdf.
UnsupportedImageTypeError
¶ Exception throw when attempting to manipulate a PDF image of a complex type that pikepdf does not currently support.