clearml-agent/clearml_agent/external/pyhocon/exceptions.py
2022-10-23 13:03:59 +03:00

18 lines
352 B
Python

class ConfigException(Exception):
def __init__(self, message, ex=None):
super(ConfigException, self).__init__(message)
self._exception = ex
class ConfigMissingException(ConfigException, KeyError):
pass
class ConfigSubstitutionException(ConfigException):
pass
class ConfigWrongTypeException(ConfigException):
pass