Source code for imagecolor.exceptions

"""imagecolor module containing all publically raised exceptions."""


[docs]class ImageColorException(Exception): """Base Exception for all imagecolor exceptions.""" pass
[docs]class ImageAveragingError(ImageColorException): """Raised when an image was unable to be averaged.""" pass
[docs]class DirectoryAveragingError(ImageColorException): """Raised when an directory was unable to be averaged.""" pass
[docs]class NoResultsError(ImageColorException): """Raised when a list of results is empty or invalid.""" pass