Table of Contents

Class TerminatedFailureException

Namespace
Temporalio.Exceptions
Assembly
Temporalio.dll

Exception representing a terminated workflow.

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

Constructors

TerminatedFailureException(Failure, Exception?, InboundFailureDetails?)

Initializes a new instance of the TerminatedFailureException class.

protected TerminatedFailureException(Failure failure, Exception? inner, InboundFailureDetails? details)

Parameters

failure Failure

Underlying proto failure.

inner Exception

Inner exception if any.

details InboundFailureDetails

Inbound failure details.

Properties

Details

Gets the details of the termination if present and they came from the client.

public IFailureDetails? Details { get; protected init; }

Property Value

IFailureDetails

Remarks

If present, this will be an instance of InboundFailureDetails currently.

Failure

Gets the underlying protobuf failure object.

public Failure Failure { get; }

Property Value

Failure