You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
downkyi/DownKyi.Core/Aria2cNet/Client/Entity/AriaError.cs

24 lines
481 B

using Newtonsoft.Json;
namespace DownKyi.Core.Aria2cNet.Client.Entity
{
//"error": {
// "code": 1,
// "message": "Unauthorized"
//}
[JsonObject]
public class AriaError
{
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
public override string ToString()
{
return JsonConvert.SerializeObject(this);
}
}
}