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
Correlation or identity key.
Error System.String
Stable error code.
Properties
ErrorMessage.Error Property
Stable error code.
public string Error { get; init; }
Property Value
ErrorMessage.Id Property
Correlation or identity key.
public string Id { get; init; }