module documentation
Common Temporal exceptions.
| Class | |
Severity category for your application error. Maps to corresponding client-side logging/metrics behaviors |
| Class | |
Current retry state of the workflow/activity during error. |
| Class | |
Type of timeout for TimeoutError. |
| Exception | |
Error raised on activity failure. |
| Exception | |
Error raised during workflow/activity execution. |
| Exception | |
Error raised on workflow/activity cancellation. |
| Exception | |
Error raised on child workflow failure. |
| Exception | |
Base for runtime failures during workflow/activity execution. |
| Exception | |
Error raised on Nexus operation failure inside a Workflow. |
| Exception | |
Error originating in the Temporal server. |
| Exception | |
Base for all Temporal exceptions. |
| Exception | |
Error raised on workflow cancellation. |
| Exception | |
Error raised on workflow/activity timeout. |
| Exception | |
Thrown by a client or workflow when a workflow execution has already started. |
| Function | is |
Check whether the given exception is considered a cancellation exception according to Temporal. |
Check whether the given exception is considered a cancellation exception according to Temporal.
This is often used in a conditional of a catch clause to check whether a
cancel occurred inside of a workflow. This can occur from
asyncio.CancelledError or CancelledError or either
ActivityError or ChildWorkflowError if either of
those latter two have a CancelledError cause.
| Parameters | |
exception:BaseException | Exception to check. |
| Returns | |
bool | True if a cancelled exception, false if not. |