pyre.components.exceptions¶
Module Contents¶
-
exception
pyre.components.exceptions.ComponentError¶ Bases:
pyre.framework.exceptions.FrameworkErrorBase class for component specification errors
-
exception
pyre.components.exceptions.CategoryMismatchError(configurable, target, name, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when two configurables have traits by the same name but have different categories
-
description= category mismatch in trait {0.name!r} between {0.configurable} and {0.target}¶
-
-
exception
pyre.components.exceptions.ImplementationSpecificationError(name, errors, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when the {implements} specification of a component declaration contains errors, e.g. classes that don’t derive from Protocol
-
description= {0.name}: poorly formed implementation specification¶
-
-
exception
pyre.components.exceptions.ProtocolError(component, protocol, report, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a component does not implement correctly the protocols in its implementation specification
-
exception
pyre.components.exceptions.TraitNotFoundError(configurable, name, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a request for a trait fails
-
description= {0.configurable} has no trait named {0.name!r}¶
-
-
exception
pyre.components.exceptions.FacilitySpecificationError(configurable, trait, value, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a facility cannot instantiate its configuration specification
-
description= {0.__name__}.{0.trait.name}: could not instantiate {0.value!r}¶
-
-
exception
pyre.components.exceptions.ProtocolCompatibilityError(configurable, protocol, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a configurable is incompatible with a suggested protocol
-
description= {0.configurable} is incompatible with {0.protocol}¶
-
-
exception
pyre.components.exceptions.ResolutionError(protocol, value, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a protocol cannot resolve a string into a component
-
description= could not resolve {0.value!r} into a component that implements {0.protocol}¶
-
-
exception
pyre.components.exceptions.DefaultError(protocol, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when a protocol cannot determine a valid default value
-
description= no valid default binding for {0.protocol}¶
-
-
exception
pyre.components.exceptions.ConfigurationError(configurable, errors, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when something bad happens during component configuration
-
description= while configuring {0.configurable}: {0.report}¶
-
-
exception
pyre.components.exceptions.InitializationError(configurable, errors, **kwds)¶ Bases:
pyre.components.exceptions.ComponentErrorException raised when something bad happens during component initialization
-
description= while initializing {0.configurable}: {0.report}¶
-