package cn.muchinfo.rma.netManage.base

/**
 *   @auther : lbl
 *   time   : 2021/1/02
 */
class APIException(val code: Int, val errorMsg: CharSequence) : RuntimeException(errorMsg.toString()) {
    companion object {
        const val ERROR_TOKEN = 1
        const val NO_TRANSFORMATION_PASSWORD = 2
        const val ERROR_CODE_OVERTIME = 3
        const val ERROR_CODE_NET_ENABLE = 4
        const val SERVER_ERROR = 5
        const val REQUEST_ERROR = 6
        const val ETH_ERROR = 7
        const val PAY_ERROR = 8
        const val AUTH_ERROR = 9
        const val AUTH_CANCEL = 10
        const val GOOGLE_SERVICE_VERSION_UPDATE_REQUIRED = 11
        const val GOOGLE_SERVICE_NOT_INSTALL_OR_NOT_SUPPORT = 12
    }
}
