pynenc.workflow.workflow_exceptions

Module Contents

API

exception pynenc.workflow.workflow_exceptions.WorkflowError[source]

Bases: pynenc.exceptions.PynencError

Base class for workflow-related exceptions.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception pynenc.workflow.workflow_exceptions.WorkflowPauseError(reason: str = '')[source]

Bases: pynenc.workflow.workflow_exceptions.WorkflowError

Raised when a workflow is explicitly paused.

This exception is handled by the workflow runner, which will pause execution and store the workflow state for later resumption.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception pynenc.workflow.workflow_exceptions.WorkflowMembershipError(operation_name: str, task_id: str, invocation_id: str | None, message: str | None = None)[source]

Bases: pynenc.workflow.workflow_exceptions.WorkflowError

Raised when workflow data is accessed outside workflow membership.

Initialization

Initialize self. See help(type(self)) for accurate signature.

__str__() str[source]
_to_json_dict() dict[str, Any][source]
classmethod _from_json_dict(json_dict: dict[str, Any]) pynenc.workflow.workflow_exceptions.WorkflowMembershipError[source]
exception pynenc.workflow.workflow_exceptions.DeterministicOperationScopeError(operation_name: str, task_id: str, invocation_id: str | None, workflow_id: str | None, workflow_type: str | None, parent_workflow_id: str | None, is_workflow_defining_invocation: bool, message: str | None = None)[source]

Bases: pynenc.workflow.workflow_exceptions.WorkflowError

Raised when root-only workflow orchestration is used from the wrong task.

Initialization

Initialize self. See help(type(self)) for accurate signature.

__str__() str[source]
_to_json_dict() dict[str, Any][source]
classmethod _from_json_dict(json_dict: dict[str, Any]) pynenc.workflow.workflow_exceptions.DeterministicOperationScopeError[source]