File: exceptions.py

package info (click to toggle)
dpath-python 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 256 kB
  • sloc: python: 1,671; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class InvalidGlob(Exception):
    """The glob passed is invalid."""
    pass


class PathNotFound(Exception):
    """One or more elements of the requested path did not exist in the object"""
    pass


class InvalidKeyName(Exception):
    """This key contains the separator character or another invalid character"""
    pass


class FilteredValue(Exception):
    """Unable to return a value, since the filter rejected it"""
    pass