mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-30 19:46:25 +00:00
26 lines
601 B
Python
26 lines
601 B
Python
|
"""Exception classes for dogpile.cache."""
|
||
|
|
||
|
|
||
|
class DogpileCacheException(Exception):
|
||
|
"""Base Exception for dogpile.cache exceptions to inherit from."""
|
||
|
|
||
|
|
||
|
class RegionAlreadyConfigured(DogpileCacheException):
|
||
|
"""CacheRegion instance is already configured."""
|
||
|
|
||
|
|
||
|
class RegionNotConfigured(DogpileCacheException):
|
||
|
"""CacheRegion instance has not been configured."""
|
||
|
|
||
|
|
||
|
class ValidationError(DogpileCacheException):
|
||
|
"""Error validating a value or option."""
|
||
|
|
||
|
|
||
|
class PluginNotFound(DogpileCacheException):
|
||
|
"""The specified plugin could not be found.
|
||
|
|
||
|
.. versionadded:: 0.6.4
|
||
|
|
||
|
"""
|