Table of Contents

Class NexusHandlerFailureException

Namespace
Temporalio.Exceptions
Assembly
Temporalio.dll

Failure from a Nexus handler.

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

Remarks

WARNING: Nexus support is experimental.

Constructors

NexusHandlerFailureException(Failure, Exception?)

Initializes a new instance of the NexusHandlerFailureException class.

protected NexusHandlerFailureException(Failure failure, Exception? inner)

Parameters

failure Failure

Proto failure.

inner Exception

Inner exception.

Properties

ErrorRetryBehavior

Gets the error retry behavior.

public NexusHandlerErrorRetryBehavior ErrorRetryBehavior { get; }

Property Value

NexusHandlerErrorRetryBehavior

ErrorType

Gets the error type.

public HandlerErrorType ErrorType { get; }

Property Value

HandlerErrorType

Failure

Gets the underlying protobuf failure object.

public Failure Failure { get; }

Property Value

Failure

RawErrorType

Gets the raw error type as a string. Most users should use ErrorType.

public string RawErrorType { get; }

Property Value

string