<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

OpenTelemetry.Proto.Trace.V1.Status

sealed class Status : IMessage<Status>, IMessage, IEquatable<Status>, IDeepCloneable<Status>, IBufferMessage
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
public static class Types

Container for nested types declared in the Status message type.

public const int CodeFieldNumber = 3

Field number for the "code" field.

public const int MessageFieldNumber = 2

Field number for the "message" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<Status> Parser { get; }

public StatusCode Code { get; set; }

The status code.

public string Message { get; set; }

A developer-facing human readable error message.

public Status()

public Status(Status other)

public int CalculateSize()

public Status Clone()

public bool Equals(Status other)

public void MergeFrom(Status other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)