oxrlib/oxrlib/errors.py
Brett Smith eba27c16ae cache: Refactor out CacheBase from FileCache.
Now we can implement CacheWriter from the same base.
2017-05-12 11:58:35 -04:00

9 lines
431 B
Python

class CacheError(Exception): pass
class CacheConfigurationError(CacheError): pass
class LoaderError(Exception): pass
class LoaderConfigurationError(LoaderError): pass
class LoaderNoDataError(LoaderError): pass
class LoaderBadRequestError(LoaderError): pass
class LoaderSourceError(LoaderError): pass
class CacheLoaderConfigurationError(CacheConfigurationError, LoaderConfigurationError): pass
class NoLoadersError(Exception): pass