Table of Contents

Class NexusOperationFailureException

Namespace
Temporalio.Exceptions
Assembly
Temporalio.dll

Exception that is thrown by the server to workflows when an operation fails.

public class NexusOperationFailureException : FailureException, ISerializable
Inheritance
NexusOperationFailureException
Implements
Inherited Members

Remarks

WARNING: Nexus support is experimental.

Constructors

NexusOperationFailureException(Failure, Exception?)

Initializes a new instance of the NexusOperationFailureException class.

protected NexusOperationFailureException(Failure failure, Exception? inner)

Parameters

failure Failure

Underlying proto failure.

inner Exception

Inner exception if any.

Properties

Endpoint

Gets the endpoint name.

public string Endpoint { get; }

Property Value

string

Failure

Gets the underlying protobuf failure object.

public Failure Failure { get; }

Property Value

Failure

Operation

Gets the operation name.

public string Operation { get; }

Property Value

string

OperationToken

Gets the operation token. May be empty if the operation failed synchronously.

public string OperationToken { get; }

Property Value

string

Service

Gets the service name.

public string Service { get; }

Property Value

string