20 lines
362 B
C#
20 lines
362 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Rest
|
|||
|
{
|
|||
|
internal struct Error
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Error code
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("code")]
|
|||
|
public uint Code;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Error message
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("message")]
|
|||
|
public string Message;
|
|||
|
}
|
|||
|
}
|