Skip to content

Commit 6c2d471

Browse files
committed
Edit docstring
1 parent f682a87 commit 6c2d471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/common/src/failure.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export type WorkflowExecution = temporal.api.common.v1.IWorkflowExecution;
3939
/**
4040
* Represents failures that can cross Workflow and Activity boundaries.
4141
*
42-
* **Never extend this class or any of its children.**
43-
*
4442
* The only child class you should ever throw from your code is {@link ApplicationFailure}.
43+
*
44+
* **Never extend this class or any of its children other than {@link ApplicationFailure}.**
4545
*/
4646
@SymbolBasedInstanceOfError('TemporalFailure')
4747
export class TemporalFailure extends Error {

0 commit comments

Comments
 (0)