neuralmonkey.config.exceptions module¶
Module that contains exceptions handled in config parsing and loading.
-
exception
neuralmonkey.config.exceptions.
ConfigBuildException
(object_name: str, original_exception: Exception) → None¶ Bases:
Exception
Exception caused by error in loading the model.
-
__init__
(object_name: str, original_exception: Exception) → None¶ Create an instance of the exception.
Parameters: - object_name – The name of the object that has failed to build
- original_exception – The exception that caused the failure
-
-
exception
neuralmonkey.config.exceptions.
ConfigInvalidValueException
(value: Any, message: str) → None¶ Bases:
Exception
-
__init__
(value: Any, message: str) → None¶ Create an instance of the exception.
Parameters: - value – The invalid value
- message – String that describes the nature of the error
-
-
exception
neuralmonkey.config.exceptions.
ParseError
(message: str, line: int = None) → None¶ Bases:
Exception
Parsing exception caused by a syntax error in INI file.
-
__init__
(message: str, line: int = None) → None¶ Initialize self. See help(type(self)) for accurate signature.
-
set_line
(line: int) → None¶
-