aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'config_file/exceptions.py')
-rw-r--r--config_file/exceptions.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/config_file/exceptions.py b/config_file/exceptions.py
index e1af755..03ef052 100644
--- a/config_file/exceptions.py
+++ b/config_file/exceptions.py
@@ -4,3 +4,16 @@ class ConfigFileError(Exception):
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.
+ """