clearml-agent/clearml_agent/external/pyhocon/exceptions.py

18 lines
352 B
Python
Raw Normal View History

2022-10-23 09:55:41 +00:00
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