exception documentation
class NexusOperationError(FailureError): (source)
Constructor: NexusOperationError(message, scheduled_event_id, endpoint, service, ...)
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 |
The operation token returned by the failed operation. |
Property | scheduled |
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 |
Undocumented |
Instance Variable | _scheduled |
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:str | The error message. |
scheduledint | The NexusOperationScheduled event ID for the failed operation. |
endpoint:str | The endpoint name for the failed operation. |
service:str | The service name for the failed operation. |
operation:str | The name of the failed operation. |
operationstr | The operation token returned by the failed operation. |