lmw
2024-10-25 314b67e56f24f7bce040ae2b5d57c7eac7b197a9
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
    }
 
 
}