temporalio.exceptions.NexusOperationError

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.

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.

The operation token returned by the failed operation.

The NexusOperationScheduled event ID for the failed operation.

The service name for the failed operation.