using Newtonsoft.Json; namespace Nop.Plugin.Widgets.FacebookPixel.Domain; /// /// Represents API error /// public class ApiError { /// /// Gets or sets a human-readable description of the error /// [JsonProperty(PropertyName = "message")] public string Message { get; set; } /// /// Gets or sets an error type /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } /// /// Gets or sets an error code /// [JsonProperty(PropertyName = "code")] public int? Code { get; set; } /// /// Gets or sets an additional information about the error /// [JsonProperty(PropertyName = "error_subcode")] public int? Subcode { get; set; } /// /// Gets or sets the message to display to the user /// [JsonProperty(PropertyName = "error_user_msg")] public string UserMessage { get; set; } /// /// Gets or sets the title of the dialog, if shown /// [JsonProperty(PropertyName = "error_user_title")] public string UserTitle { get; set; } /// /// Gets or sets the internal support identifier /// [JsonProperty(PropertyName = "fbtrace_id")] public string DebugId { get; set; } }