OSP Event Handler V2 - Configuration Exception Code¶
Code¶
- exception ecstask.osp_eventhandler_v2.exceptions.configuration_exception.ApplicationConfigurationException[source]¶
Bases:
ExceptionBase class for configuration exceptions
- exception ecstask.osp_eventhandler_v2.exceptions.configuration_exception.FlaskConfigurationFileNotFoundError(message='The flask configuration file path is incorrect or the file does not exist')[source]¶
Bases:
ecstask.osp_eventhandler_v2.exceptions.configuration_exception.ApplicationConfigurationExceptionException raised when the path to the file is wrong or the file is not present.
- message¶
explanation of the error
- Type
String
- exception ecstask.osp_eventhandler_v2.exceptions.configuration_exception.FlaskConfigurationKeyError(missing_key_name)[source]¶
Bases:
ecstask.osp_eventhandler_v2.exceptions.configuration_exception.ApplicationConfigurationExceptionException raised when the provided config does not contain a required key-value pair.
- missing_key_name¶
The Key that is missing from the configuration
- Type
String