exception documentation
class FailureError(TemporalError): (source)
Known subclasses: temporalio.exceptions.ActivityError
, temporalio.exceptions.ApplicationError
, temporalio.exceptions.CancelledError
, temporalio.exceptions.ChildWorkflowError
, 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: Optional[ temporalio.api.failure.v1.Failure]
= None, exc_args: Optional[ Tuple]
= None):
(source)
¶
overridden in
temporalio.exceptions.ActivityError
, temporalio.exceptions.ApplicationError
, temporalio.exceptions.CancelledError
, temporalio.exceptions.ChildWorkflowError
, temporalio.exceptions.ServerError
, temporalio.exceptions.TerminatedError
, temporalio.exceptions.TimeoutError
, temporalio.exceptions.WorkflowAlreadyStartedError
Initialize a failure error.