You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Base class for exceptions that cause a workflow execution failure.
45
-
45
+
46
46
Do not raise this directly in workflow code: raise a child exception such as `ApplicationError` instead.
47
47
48
48
Workflow execution failure puts the workflow execution into "Failed" state, and no further attempts will
49
49
be made to progress the workflow execution.
50
50
51
51
By default, any exception that does not extend this class causes the Workflow Task to be retried, rather than failing the workflow execution.
52
-
53
-
The default behavior can be changed by providing a list of exception types to ``workflow_failure_exception_types`` when creating a worker or ``failure_exception_types`` on the ``@workflow.defn`` decorator.
52
+
53
+
The default behavior can be changed by providing a list of exception types to ``workflow_failure_exception_types`` when creating a worker or ``failure_exception_types`` on the ``@workflow.defn`` decorator.
0 commit comments