14 lines
383 B
Python
14 lines
383 B
Python
|
|
"""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."""
|