BililiveRecorder/BililiveRecorder.Web/Models/Rest/RestApiErrorCode.cs

26 lines
569 B
C#
Raw Normal View History

2022-04-03 13:34:55 +08:00
using System.Text.Json.Serialization;
namespace BililiveRecorder.Web.Models.Rest
2022-04-03 13:34:55 +08:00
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum RestApiErrorCode
{
/// <summary>
/// 错误
/// </summary>
Unknown,
/// <summary>
/// 房间号不在允许的范围内
/// </summary>
RoomidOutOfRange,
/// <summary>
/// 房间已存在
/// </summary>
RoomExist,
/// <summary>
/// 房间不存在
/// </summary>
RoomNotFound,
}
}