Files
api/path/to/venv/lib/python3.12/site-packages/docx/oxml/exceptions.py
2025-12-30 11:27:14 +07: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."""