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
The SDK throws specific exceptions to help you handle different failure scenarios:
386
386
387
-
| Exception | When Thrown | How to Handle |
388
-
|-----------|-------------|---------------|
389
-
|`StepFailedException`| Step exhausted all retry attempts | Catch to implement fallback logic or let execution fail |
390
-
|`StepInterruptedException`|`AT_MOST_ONCE` step was interrupted before completion | Implement manual recovery (check if operation completed externally) |
391
-
|`CallbackTimeoutException`| Callback exceeded its timeout duration | Implement fallback logic or escalation |
392
-
|`CallbackFailedException`| External system sent an error response to the callback | Handle the error or propagate failure |
393
-
|`NonDeterministicExecutionException`| Code changed between original execution and replay | Fix code to maintain determinism; don't change step order/names |
387
+
```
388
+
DurableExecutionException - General durable exception
389
+
├── NonDeterministicExecutionException - Code changed between original execution and replay. Fix code to maintain determinism; don't change step order/names.
390
+
├── SerDesException - Serialization and deserialization exception.
391
+
└── DurableOperationException - General operation exception
392
+
├── StepException - General Step exception
393
+
│ ├── StepFailedException - Step exhausted all retry attempts.Catch to implement fallback logic or let execution fail.
394
+
│ └── StepInterruptedException - `AT_MOST_ONCE` step was interrupted before completion. Implement manual recovery (check if operation completed externally)
395
+
├── InvokeException - General chained invocation exception
396
+
│ ├── InvokeFailedException - Chained invocation failed. Handle the error or propagate failure.
397
+
│ ├── InvokeTimedoutException - Chained invocation timed out. Handle the error or propagate failure.
398
+
│ └── InvokeStoppedException - Chained invocation stopped. Handle the error or propagate failure.
399
+
└── CallbackException - General callback exception
400
+
├── CallbackFailedException - External system sent an error response to the callback. Handle the error or propagate failure
401
+
└── CallbackTimeoutException - Callback exceeded its timeout duration. Handle the error or propagate the failure
0 commit comments