You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
601 B
26 lines
601 B
6 years ago
|
"""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
|
||
|
|
||
|
"""
|