Source code for large_image.exceptions

import errno


[docs]class TileGeneralError(Exception): pass
[docs]class TileSourceError(TileGeneralError): pass
[docs]class TileSourceAssetstoreError(TileSourceError): pass
[docs]class TileSourceXYZRangeError(TileSourceError): pass
[docs]class TileSourceInefficientError(TileSourceError): pass
[docs]class TileSourceFileNotFoundError(TileSourceError, FileNotFoundError): def __init__(self, *args, **kwargs): return super().__init__(errno.ENOENT, *args, **kwargs)
[docs]class TileCacheError(TileGeneralError): pass
[docs]class TileCacheConfigurationError(TileCacheError): pass
TileGeneralException = TileGeneralError TileSourceException = TileSourceError TileSourceAssetstoreException = TileSourceAssetstoreError