openwebrx-clone/owrx/config/error.py

4 lines
153 B
Python
Raw Permalink Normal View History

2021-02-11 12:55:06 +00:00
class ConfigError(Exception):
def __init__(self, key, message):
super().__init__("Configuration Error (key: {0}): {1}".format(key, message))