Enum Class的使用
top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
使用ErrorCodeEnum的程序包
-
top.aoyudi.deepseek.entity.enums中ErrorCodeEnum的使用
修饰符和类型方法说明static ErrorCodeEnumErrorCodeEnum.fromCode(int code) 根据状态码获取枚举实例的方法static ErrorCodeEnumReturns the enum constant of this class with the specified name.static ErrorCodeEnum[]ErrorCodeEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.