OSP Event Handler V2 - Configuration Exception Code

Code

exception ecstask.osp_eventhandler_v2.exceptions.configuration_exception.ApplicationConfigurationException[source]

Bases: Exception

Base 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.ApplicationConfigurationException

Exception raised when the path to the file is wrong or the file is not present.

message

explanation of the error

Type

String

__init__(message='The flask configuration file path is incorrect or the file does not exist')[source]
exception ecstask.osp_eventhandler_v2.exceptions.configuration_exception.FlaskConfigurationKeyError(missing_key_name)[source]

Bases: ecstask.osp_eventhandler_v2.exceptions.configuration_exception.ApplicationConfigurationException

Exception 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

__init__(missing_key_name)[source]