Exceptions

Exceptions used with python-pptx.

The base exception class is PythonPptxError.

exception pptx.exc.PythonPptxError[源代码]

Generic error class.

exception pptx.exc.PackageNotFoundError[源代码]

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

exception pptx.exc.InvalidXmlError[源代码]

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