feat: add error reason to RPCError in callRequest method

This commit is contained in:
2025-11-28 13:35:03 +08:00
parent 9a8733a77d
commit 40d0e79358

View File

@@ -242,6 +242,7 @@ export class RPCSession {
reject(new RPCError({
errorCode: RPCErrorCode.UNKNOWN_ERROR,
reason: e instanceof Error ? e.message : `${e}`
}))
})
}