OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation.ExportClient.Grpc.Status
struct Status
Represents RPC result, which consists of StatusCode and an optional detail string.
namespace OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation.ExportClient.Grpc
{
internal struct Status
{
public const string NoReplyDetailMessage = "No grpc-status found on response.";
public static readonly Status DefaultSuccess;
public static readonly Status DefaultCancelled;
public static readonly Status NoReply;
public StatusCode StatusCode { get; }
public string Detail { get; }
public Exception DebugException { get; }
public Status(StatusCode statusCode, string detail);
public Status(StatusCode statusCode, string detail, Exception debugException);
}
}