迁移探路模块和tanlulib代码至此

This commit is contained in:
tongchenfei
2020-08-10 11:29:55 +08:00
parent dffd094b67
commit ee53d50cdb
269 changed files with 13646 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
package com.zhidao.roadcondition.exception
class ApiException : Exception {
companion object{
val NETWORK_API_EXCEPTION = ApiException(1, "network is error")
val NULL_REQUEST_DATA_API_EXCEPTION = ApiException(2, "request data is null")
}
private var code: Int = 0
private var msg: String = ""
constructor(code: Int, msg: String) : super(msg) {
this.code = code
this.msg = msg
}
}