// *********************************************************************** // // Heath // // *********************************************************************** using System.ComponentModel; using System.Text.Json.Serialization; namespace Core.Blueprint.Logging { /// /// The service error details transfer object. /// public class ErrorDetails { /// /// Gets or sets the service error code. /// /// healthy [DisplayName(DisplayNames.ErrorCode)] [JsonPropertyName(DisplayNames.ErrorCode)] public string? ErrorCode { get; set; } /// /// Gets or sets the service error message. /// /// This is an example message. [DisplayName(DisplayNames.Message)] [JsonPropertyName(DisplayNames.Message)] public string? Message { get; set; } /// /// Gets or sets the service target. /// /// healthy [DisplayName(DisplayNames.Target)] [JsonPropertyName(DisplayNames.Target)] public string? Target { get; set; } } }