using System.Text.Json.Serialization; namespace BililiveRecorder.Web.Models { [JsonConverter(typeof(JsonStringEnumConverter))] public enum RestApiErrorCode { /// /// 错误 /// Unknown, /// /// 房间号不在允许的范围内 /// RoomidOutOfRange, /// /// 房间已存在 /// RoomExist, /// /// 房间不存在 /// RoomNotFound, } }