agent-Specialization/虚拟环境/venv/lib/python3.12/site-packages/docx/oxml/exceptions.py

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."""