class documentation

class ActivityError(FailureError): (source)

View In Hierarchy

Error raised on activity failure.

Method __init__ Initialize an activity error.
Property activity_id Activity ID for this error.
Property activity_type Activity type for this error.
Property identity Identity for this error.
Property retry_state Retry state for this error.
Property scheduled_event_id Scheduled event ID for this error.
Property started_event_id Started event ID for this error.
Instance Variable _activity_id Undocumented
Instance Variable _activity_type Undocumented
Instance Variable _identity Undocumented
Instance Variable _retry_state Undocumented
Instance Variable _scheduled_event_id Undocumented
Instance Variable _started_event_id Undocumented

Inherited from FailureError:

Property failure Underlying protobuf failure object.
Property message Message.
Instance Variable _failure Undocumented
Instance Variable _message Undocumented

Inherited from TemporalError (via FailureError):

Property cause Cause of the exception.
def __init__(self, message: str, *, scheduled_event_id: int, started_event_id: int, identity: str, activity_type: str, activity_id: str, retry_state: Optional[RetryState]): (source)

Initialize an activity error.

@property
activity_id: str = (source)

Activity ID for this error.

@property
activity_type: str = (source)

Activity type for this error.

@property
identity: str = (source)

Identity for this error.

Retry state for this error.

@property
scheduled_event_id: int = (source)

Scheduled event ID for this error.

@property
started_event_id: int = (source)

Started event ID for this error.

_activity_id = (source)

Undocumented

_activity_type = (source)

Undocumented

_identity = (source)

Undocumented

_retry_state = (source)

Undocumented

_scheduled_event_id = (source)

Undocumented

_started_event_id = (source)

Undocumented