Exceptions

exception pdfnaut.exceptions.MissingCryptProviderError[source]

Bases: Exception

pdfnaut cannot encrypt or decrypt because no crypt provider is available.

exception pdfnaut.exceptions.PdfFilterError[source]

Bases: PdfParseError

A filter was unable to decode a stream or the filter in question is not supported.

exception pdfnaut.exceptions.PdfParseError[source]

Bases: Exception

The parser was unable to continue parsing the PDF.

exception pdfnaut.exceptions.PdfResolutionError[source]

Bases: Exception

The document was unable to resolve a reference because no resolution method is available.

exception pdfnaut.exceptions.PdfWriteError[source]

Bases: Exception

The writer was unable to serialize an object.