galaeth-draft/Galaeth.ApiServer/Models/Common/ErrorResultModel.cs

22 lines
446 B
C#
Raw Permalink Normal View History

2024-11-17 10:31:01 +01:00
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; }
}