exception documentation
class FailureError(TemporalError): (source)
Known subclasses: temporalio.exceptions.ActivityError, temporalio.exceptions.ApplicationError, temporalio.exceptions.CancelledError, temporalio.exceptions.ChildWorkflowError, temporalio.exceptions.NexusOperationError, temporalio.exceptions.ServerError, temporalio.exceptions.TerminatedError, temporalio.exceptions.TimeoutError, temporalio.exceptions.WorkflowAlreadyStartedError
Constructor: FailureError(message, failure, exc_args)
Base for runtime failures during workflow/activity execution.
| Method | __init__ |
Initialize a failure error. |
| Property | failure |
Underlying protobuf failure object. |
| Property | message |
Message. |
| Instance Variable | _failure |
Undocumented |
| Instance Variable | _message |
Undocumented |
Inherited from TemporalError:
| Property | cause |
Cause of the exception. |
def __init__(self, message:
str, *, failure: temporalio.api.failure.v1.Failure | None = None, exc_args: tuple | None = None):
(source)
¶
overridden in
temporalio.exceptions.ActivityError, temporalio.exceptions.ApplicationError, temporalio.exceptions.CancelledError, temporalio.exceptions.ChildWorkflowError, temporalio.exceptions.NexusOperationError, temporalio.exceptions.ServerError, temporalio.exceptions.TerminatedError, temporalio.exceptions.TimeoutError, temporalio.exceptions.WorkflowAlreadyStartedErrorInitialize a failure error.