1
0
Files
synapse/synapse_topology/model/errors.py
2019-08-28 15:59:53 +01:00

19 lines
388 B
Python

from .constants import BASE_CONFIG
class ConfigNotFoundError(FileNotFoundError):
def __init__(self, config_name):
self.config_name = config_name
def get_config_name(self):
return self.config_name
class BaseConfigNotFoundError(ConfigNotFoundError):
def __init__(self):
super().__init__(BASE_CONFIG)
class BasConfigInUseError(Exception):
pass