File: exception.py

package info (click to toggle)
python-dogpile.cache 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 772 kB
  • sloc: python: 5,462; makefile: 155; sh: 104
file content (25 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""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

    """