ssm icon indicating copy to clipboard operation
ssm copied to clipboard

AppointStateEnum的状态问题

Open Hojunwei opened this issue 7 years ago • 1 comments

有了AppointStateEnum是否能够替换掉AppointException、NoNumberException、RepeatAppointException这3个异常呢。这种状态枚举和异常,怎么取舍呢?个人更加倾向枚举。。

Hojunwei avatar Dec 17 '17 14:12 Hojunwei

如果用了枚举,那你方法的正常返回值如何处理,你说那种有点像Go呀

liyifeng1994 avatar Mar 11 '18 15:03 liyifeng1994