exception documentation

Error raised on Nexus operation failure inside a Workflow.

Method __init__ Initialize a Nexus operation error.
Property endpoint The endpoint name for the failed operation.
Property operation The name of the failed operation.
Property operation_token The operation token returned by the failed operation.
Property scheduled_event_id The NexusOperationScheduled event ID for the failed operation.
Property service The service name for the failed operation.
Instance Variable _endpoint Undocumented
Instance Variable _operation Undocumented
Instance Variable _operation_token Undocumented
Instance Variable _scheduled_event_id Undocumented
Instance Variable _service 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, endpoint: str, service: str, operation: str, operation_token: str): (source)

Initialize a Nexus operation error.

Parameters
message:strThe error message.
scheduled_event_id:intThe NexusOperationScheduled event ID for the failed operation.
endpoint:strThe endpoint name for the failed operation.
service:strThe service name for the failed operation.
operation:strThe name of the failed operation.
operation_token:strThe operation token returned by the failed operation.

The endpoint name for the failed operation.

The name of the failed operation.

@property
operation_token: str = (source)

The operation token returned by the failed operation.

@property
scheduled_event_id: int = (source)

The NexusOperationScheduled event ID for the failed operation.

The service name for the failed operation.

_endpoint = (source)

Undocumented

_operation = (source)

Undocumented

_operation_token = (source)

Undocumented

_scheduled_event_id = (source)

Undocumented

_service = (source)

Undocumented