cpdbench.exception.UserParameterDoesNotExistException

1class UserParameterDoesNotExistException(Exception):
2    """Exception type when a needed user parameter in a dataset, algorithm or metric does not exist in the config
3    file."""
4    msg_text = "The user parameter [{0}] is needed for running [{1}], but does not exist in the given config file."
5
6    def __init__(self, param_name, function_name):
7        super().__init__(self.msg_text.format(param_name, function_name))
class UserParameterDoesNotExistException(builtins.Exception):
2class UserParameterDoesNotExistException(Exception):
3    """Exception type when a needed user parameter in a dataset, algorithm or metric does not exist in the config
4    file."""
5    msg_text = "The user parameter [{0}] is needed for running [{1}], but does not exist in the given config file."
6
7    def __init__(self, param_name, function_name):
8        super().__init__(self.msg_text.format(param_name, function_name))

Exception type when a needed user parameter in a dataset, algorithm or metric does not exist in the config file.

UserParameterDoesNotExistException(param_name, function_name)
7    def __init__(self, param_name, function_name):
8        super().__init__(self.msg_text.format(param_name, function_name))
msg_text = 'The user parameter [{0}] is needed for running [{1}], but does not exist in the given config file.'
Inherited Members
builtins.BaseException
with_traceback
args