22 lines
446 B
C#
22 lines
446 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Galaeth.ApiServer.Models.Common;
|
|
|
|
/// <summary>
|
|
/// Error result model.
|
|
/// </summary>
|
|
public class ErrorResultModel : ResultModel
|
|
{
|
|
/// <summary>
|
|
/// Error code.
|
|
/// </summary>
|
|
[JsonPropertyName("error")]
|
|
public string Error { get; set; }
|
|
|
|
/// <summary>
|
|
/// Error message.
|
|
/// </summary>
|
|
[JsonPropertyName("message")]
|
|
public string Message { get; set; }
|
|
}
|