break config module apart

This commit is contained in:
Jakob Ketterl
2021-02-11 13:55:06 +01:00
parent 1cc4b13ba6
commit e926611307
4 changed files with 49 additions and 47 deletions

7
owrx/config/error.py Normal file
View File

@@ -0,0 +1,7 @@
class ConfigNotFoundException(Exception):
pass
class ConfigError(Exception):
def __init__(self, key, message):
super().__init__("Configuration Error (key: {0}): {1}".format(key, message))