Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1"""Exception classes for dogpile.cache.""" 

2 

3 

4class DogpileCacheException(Exception): 

5 """Base Exception for dogpile.cache exceptions to inherit from.""" 

6 

7 

8class RegionAlreadyConfigured(DogpileCacheException): 

9 """CacheRegion instance is already configured.""" 

10 

11 

12class RegionNotConfigured(DogpileCacheException): 

13 """CacheRegion instance has not been configured.""" 

14 

15 

16class ValidationError(DogpileCacheException): 

17 """Error validating a value or option.""" 

18 

19 

20class PluginNotFound(DogpileCacheException): 

21 """The specified plugin could not be found. 

22 

23 .. versionadded:: 0.6.4 

24 

25 """