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
FailureUnderlying proto failure.
inner
ExceptionInner exception if any.
details
InboundFailureDetailsInbound 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
Remarks
If present, this will be an instance of InboundFailureDetails currently.
Failure
Gets the underlying protobuf failure object.
public Failure Failure { get; }