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 for runtime failures during workflow/activity execution.
44
+
"""Base class for exceptions that cause a workflow execution failure.
45
+
46
+
Do not raise this directly in workflow code: raise a child exception such as `ApplicationError` instead.
45
47
46
-
This is extended by ``ApplicationError``, which can be raised in a Workflow to fail the Workflow Execution.
47
-
Workflow Execution Failures put the Workflow Execution into the "Failed" state and no more attempts will
48
-
be made in progressing this execution.
48
+
Workflow execution failure puts the workflow execution into "Failed" state, and no further attempts will
49
+
be made to progress the workflow execution.
49
50
50
-
Any exception that does not extend this exception
51
-
is considered a Workflow Task Failure. These types of failures will cause the Workflow Task to be retried.
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.
0 commit comments