break config module apart
This commit is contained in:
7
owrx/config/error.py
Normal file
7
owrx/config/error.py
Normal 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))
|
||||
Reference in New Issue
Block a user