mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 20:26:00 +08:00
26 lines
564 B
C#
26 lines
564 B
C#
|
using System.Text.Json.Serialization;
|
||
|
|
||
|
namespace BililiveRecorder.Web.Models
|
||
|
{
|
||
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||
|
public enum RestApiErrorCode
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 错误
|
||
|
/// </summary>
|
||
|
Unknown,
|
||
|
/// <summary>
|
||
|
/// 房间号不在允许的范围内
|
||
|
/// </summary>
|
||
|
RoomidOutOfRange,
|
||
|
/// <summary>
|
||
|
/// 房间已存在
|
||
|
/// </summary>
|
||
|
RoomExist,
|
||
|
/// <summary>
|
||
|
/// 房间不存在
|
||
|
/// </summary>
|
||
|
RoomNotFound,
|
||
|
}
|
||
|
}
|