The cinder.taskflow.exceptions Module

exception AlreadyExists

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when some entry in some object already exists.

exception ClosedException

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when an access on a closed object occurs.

exception Duplicate

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when a duplicate entry is found.

exception InvalidStateException

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when a task/job/workflow is in an invalid state when an operation is attempting to apply to said task/job/workflow.

exception JobNotFound

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when a job entry can not be found.

exception MissingDependencies(task, requirements)

Bases: cinder.taskflow.exceptions.InvalidStateException

Raised when a task has dependencies that can not be satisified.

message = '%(task)s requires %(requirements)s but no other task produces said requirements'
exception NotFound

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when some entry in some object doesn’t exist.

exception TaskFlowException

Bases: exceptions.Exception

Base class for exceptions emitted from this library.

exception UnclaimableJobException

Bases: cinder.taskflow.exceptions.TaskFlowException

Raised when a job can not be claimed.

Previous topic

The cinder.taskflow.decorators Module

Next topic

The cinder.taskflow.patterns.base Module

This Page