aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/docx/image/exceptions.py
blob: 2b35187d199e2d4b56a118b7d21ee6bcedacb085 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Exceptions specific the the image sub-package."""


class InvalidImageStreamError(Exception):
    """The recognized image stream appears to be corrupted."""


class UnexpectedEndOfFileError(Exception):
    """EOF was unexpectedly encountered while reading an image stream."""


class UnrecognizedImageError(Exception):
    """The provided image stream could not be recognized."""