using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace MatrixDotNetLib { public class MatrixError { /// /// Gets or sets the error code (required) /// [JsonProperty("errcode")] public string ErrorCode { get; set; } /// /// Gets or sets the friendly error message (optional) /// [JsonProperty("error")] public string ErrorMessage { get; set; } /// /// Gets or sets the delay in milliseconds (optional) /// [JsonProperty("retry_after_ms")] public Int32 RetryDelay { get; set; } } }