Do not unwind rpc exception
This commit is contained in:
@@ -31,7 +31,7 @@ class JsonRpcError(val code: Int, val message: String, val details: Any?) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun asException(id: JsonRpcResponse.Id?): JsonRpcException {
|
fun asException(id: JsonRpcResponse.Id?): JsonRpcException {
|
||||||
return JsonRpcException(id ?: JsonRpcResponse.NumberId(-1), this)
|
return JsonRpcException(id ?: JsonRpcResponse.NumberId(-1), this, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun equals(other: Any?): Boolean {
|
override fun equals(other: Any?): Boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user