Class ServerFailureException
Exception representing a server failure.
Namespace: Temporalio.Exceptions
Assembly: Temporalio.dll
Syntax
public class ServerFailureException : FailureException
Constructors
ServerFailureException(Failure, Nullable<Exception>)
Initializes a new instance of the ServerFailureException class.
Declaration
protected ServerFailureException(Failure failure, Exception? inner)
Parameters
Type | Name | Description |
---|---|---|
Failure | failure | Underlying proto failure. |
Nullable<Exception> | inner | Inner exception if any. |
Properties
Failure
Gets the underlying protobuf failure object.
Declaration
public Failure Failure { get; }
Property Value
Type | Description |
---|---|
Failure |
NonRetryable
Gets a value indicating whether this exception is non-retryable.
Declaration
public bool NonRetryable { get; }
Property Value
Type | Description |
---|---|
Boolean |