Event Hooks Framework Errors¶
consortium.framework._core.framework_exceptions.event_hooks_framework_exceptions
¶
EventHooksFrameworkError(message=None, detail=None, **kwargs)
¶
Bases: ComponentsFrameworkError
Base exception for all errors that occur within the event hooks framework.
code = 'EVENT_HOOKS_FRAMEWORK_ERROR'
class-attribute
instance-attribute
¶
EventHookConfigurationError(message=None, detail=None, **kwargs)
¶
Bases: ComponentConfigurationError, EventHooksFrameworkError
Base exception for all errors that occur during the configuration of a particular event hook.
code = 'EVENT_HOOK_CONFIGURATION_ERROR'
class-attribute
instance-attribute
¶
InvalidEventHookConfigurationParameterTypeError(component_str, parameter_name, parameter_type)
¶
Bases: InvalidComponentConfigurationParameterTypeError, EventHookConfigurationError
Raised when an event hook's configuration parameter is not of the expected type during event hook configuration.
code = 'INVALID_EVENT_HOOK_CONFIGURATION_PARAMETER_TYPE_ERROR'
class-attribute
instance-attribute
¶
MissingEventHookConfigurationParameterError(component_str, parameter_name)
¶
Bases: MissingComponentConfigurationParameterError, EventHookConfigurationError
Raised when a required parameter is not declared in an event hook's definition during event hook configuration.
code = 'MISSING_EVENT_HOOK_CONFIGURATION_PARAMETER_ERROR'
class-attribute
instance-attribute
¶
EmptyEventHookLabelError(component_filepath)
¶
Bases: EmptyComponentLabelError, EventHookConfigurationError
Raised when an empty label is provided in an event hook's definition during event hook configuration.
code = 'EMPTY_EVENT_HOOK_LABEL_ERROR'
class-attribute
instance-attribute
¶
InvalidEventHookVersionError(component_str, version)
¶
Bases: InvalidComponentVersionError, EventHookConfigurationError
Raised when the event hook version string provided in the event hook's definition is not a valid version string according to PEP 440 during event hook configuration.
code = 'INVALID_EVENT_HOOK_VERSION_ERROR'
class-attribute
instance-attribute
¶
InvalidEventHookDependencyVersionSpecifierError(component_str, invalid_dependency_entry)
¶
Bases: InvalidComponentDependencyVersionSpecifierError, EventHookConfigurationError
Raised when an event hook dependency version specifier string provided in the event hook's definition is not a valid version specifier string as defined in PEP 440 during event hook configuration.