异常处理的时候建议把异常类型提到ResponseException
shenzhen-arrom opened this issue · comments
arrom_sz commented
异常处理的时候建议把类型提到ResponseException,现在获得的异常是Exception,每次处理的时候都需要转一下,感觉不是很好,在框架处理一下可能会更好一点
Quyunshuo commented
你指的是接口异常吗
基于 Jetpack + Kotlin 的 Android 组件化 MVVM 框架
shenzhen-arrom opened this issue · comments
异常处理的时候建议把类型提到ResponseException,现在获得的异常是Exception,每次处理的时候都需要转一下,感觉不是很好,在框架处理一下可能会更好一点
你指的是接口异常吗