Exceptions

Option and dependency resolution raises these exceptions for invalid bundle content. All three are subclasses of momotor.bundles.BundleError, and all three can be imported from momotor.options.

exception momotor.options.CircularDependencies

Circular dependencies detected in the steps.

This exception is raised when the steps of a bundle have circular dependencies.

Subclass of momotor.bundles.BundleError.

exception momotor.options.InvalidDependencies

Invalid dependencies detected in the steps.

This exception is raised when the steps of a bundle have invalid dependencies, for example, when referencing non-existent steps ids or using an invalid syntax.

Subclass of momotor.bundles.BundleError.

exception momotor.options.exception.InvalidToolRequirements

Invalid tool requirements were configured for a task.

Raised when a tool requirement lists alternative tools with different base names and none of them matches the requirement name. See the Tools domain documentation for the requirement rules.

Subclass of momotor.bundles.BundleError.

Added in version 2.1.3.