blob: a8b8e5c878a4b620ca0435fe6e0cf66fc11d0e0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class ConfigFileError(Exception):
"""A generic error from the package."""
class UnsupportedFileTypeError(ConfigFileError):
"""
A missing file extension or a file type not supported.
"""
class ParsingError(ConfigFileError):
"""Unable to parse the configuration file."""
class MissingKeyError(ParsingError):
"""
A key that was specified (to retrieve, delete, etc.)
is not in the file.
"""
|