Skip to content

Commit 98ae6f8

Browse files
committed
docs: fix for linter
1 parent cd244ff commit 98ae6f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

temporalio/exceptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ def cause(self) -> Optional[BaseException]:
4242

4343
class FailureError(TemporalError):
4444
"""Base class for exceptions that cause a workflow execution failure.
45-
45+
4646
Do not raise this directly in workflow code: raise a child exception such as `ApplicationError` instead.
4747
4848
Workflow execution failure puts the workflow execution into "Failed" state, and no further attempts will
4949
be made to progress the workflow execution.
5050
5151
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.
5454
"""
5555

5656
def __init__(

0 commit comments

Comments
 (0)