Files
to_docx/server/venv/Lib/site-packages/docx/oxml/exceptions.py
T
2026-05-12 08:59:02 +08:00

11 lines
261 B
Python

"""Exceptions for oxml sub-package."""
class XmlchemyError(Exception):
"""Generic error class."""
class InvalidXmlError(XmlchemyError):
"""Raised when invalid XML is encountered, such as on attempt to access a missing
required child element."""