blob: 03ef0526440f5f1dca97747a724a581ab1149dc5 (
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 ParsingError(ConfigFileError):
"""Unable to parse the configuration file."""
class MissingDependencyError(ConfigFileError):
"""
PyYaml or toml is not installed, but the parsers
for them were attempted to be used.
"""
class UnrecognizedFileError(ConfigFileError):
"""
A missing file extension or a file type not supported.
"""
|