aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/docx/oxml/exceptions.py
blob: 8919239a2b514d746e4e26179b929f7cb98af6c3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
"""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."""