lmw
2023-06-16 03972ad1d3ce6ffe0be0395c0a4d5dcb4474031f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cn.sinata.xldutils.rxutils
 
/**
 * 接口相关异常
 */
class ResultException : Exception{
    var code:Int = -1
    constructor(msg:String?):super(msg)
    constructor(code: Int, msg: String?) : super(msg){
        this.code = code
    }
 
    constructor(throwable: Throwable) : super(throwable)
    constructor(code: Int, throwable: Throwable) : super(throwable){
        this.code = code
    }
 
 
}