Class RpcException
Exception representing a gRPC failure.
Inherited Members
Namespace: Temporalio.Exceptions
Assembly: Temporalio.dll
Syntax
public class RpcException : TemporalException
Constructors
RpcException(RpcException.StatusCode, String, Byte[])
Initializes a new instance of the RpcException class.
Declaration
public RpcException(RpcException.StatusCode code, string message, byte[] rawStatus)
Parameters
Type | Name | Description |
---|---|---|
RpcException.StatusCode | code | gRPC status code. |
String | message | Message. |
Byte[] | rawStatus | gRPC status as protobuf. |
Properties
Code
Gets the gRPC status code of the error.
Declaration
public RpcException.StatusCode Code { get; }
Property Value
Type | Description |
---|---|
RpcException.StatusCode |