mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 17:16:51 +00:00
18 lines
352 B
Python
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
|