temporalio.client.AsyncActivityCancelledError

exception documentation

class AsyncActivityCancelledError(temporalio.exceptions.TemporalError): (source)

Constructor: AsyncActivityCancelledError(details)

View In Hierarchy

Error that occurs when async activity attempted heartbeat but was cancelled.

Method __init__ Create async activity cancelled error.
Instance Variable details Undocumented

Inherited from TemporalError:

Property cause Cause of the exception.

def __init__(self, details: ActivityCancellationDetails | None = None): (source)

Create async activity cancelled error.

Undocumented