Skip to main content
Version: 4.x

DarkWS.ErrorMessage

DarkWS​

DarkWS​

ErrorMessage Class​

Error response carrying a stable code and optional typed details.

public sealed record ErrorMessage : System.IEquatable<DarkWS.ErrorMessage>

Inheritance System.Object → ErrorMessage

Implements System.IEquatable<ErrorMessage>

Constructors​

ErrorMessage(string, string) Constructor​

Error response carrying a stable code and optional typed details.

public ErrorMessage(string Id, string Error);

Parameters​

Id System.String

Correlation or identity key.

Error System.String

Stable error code.

Properties​

ErrorMessage.Error Property​

Stable error code.

public string Error { get; init; }

Property Value​

System.String

ErrorMessage.Id Property​

Correlation or identity key.

public string Id { get; init; }

Property Value​

System.String