astral-api/Astral.ApiServer/Models/Common/ErrorResponseModel.cs
Mike 81aa0ec1c0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
WIP heartbeat and user presence
2024-12-15 16:06:14 +00:00

25 lines
613 B
C#

// <copyright file="ErrorResponseModel.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
using System.Text.Json.Serialization;
namespace Astral.ApiServer.Models.Common;
/// <summary>
/// Error result model.
/// </summary>
public class ErrorResponseModel : ResponseModel
{
/// <summary>
/// Error code.
/// </summary>
[JsonPropertyName("error")]
public string Error { get; set; }
/// <summary>
/// Error message.
/// </summary>
[JsonPropertyName("message")]
public string Message { get; set; }
}