duck.html.components.core.exceptions¶
Exception classes related to the component system.
Module Contents¶
API¶
- exception duck.html.components.core.exceptions.AlreadyInRegistry[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when trying to add a component already in registry.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.ComponentAttributeProtection[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised If protected component attribute is being modified.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.ComponentCopyError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised on component copy issues.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.ComponentNotLoadedError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised if component is not loaded yet it is required for component to be loaded.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.ComponentSystemError[source]¶
Bases:
ExceptionBase exception for component system-related errors.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.EventAlreadyBound[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when trying to bind a component that’s already bound.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.ForceUpdateError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when there is an issue in forcily updating a component on event
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.FrozenComponentError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised on attempts to mutate frozen components or data.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.HtmlComponentError[source]¶
Bases:
duck.html.components.core.exceptions.ComponentSystemErrorException raised for errors in the HtmlComponent.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.InitializationError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised upon initialization error.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.JavascriptExecutionError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when there was a failure in execution of JavaScript on client side due to connection-failure or execution error.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.JavascriptExecutionTimedOut[source]¶
Bases:
duck.html.components.core.exceptions.JavascriptExecutionErrorRaised on timeout whilst executing JavaScript code on client side.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.NoParentError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorException raised for errors when an html component has no parent.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.NoRootError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorException raised for errors when an html component has no root component.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.RedundantForceUpdate[source]¶
Bases:
duck.html.components.core.exceptions.ForceUpdateErrorRaised when redundant updates on force updates
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.RedundantUpdate[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when redundant update targets conflict due to shared root.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- exception duck.html.components.core.exceptions.UnknownEventError[source]¶
Bases:
duck.html.components.core.exceptions.HtmlComponentErrorRaised when trying to bind a component to unknown event.
Initialization
Initialize self. See help(type(self)) for accurate signature.