Exceptions

Exceptions used with python-pptx.

The base exception class is PythonPptxError.

exception pptx.exc.PythonPptxError[source]

Generic error class.

exception pptx.exc.PackageNotFoundError[source]

Raised when a package cannot be found at the specified path.

exception pptx.exc.InvalidXmlError[source]

Raised when a value is encountered in the XML that is not valid according to the schema.