Just watched the talk by Alexander and this looks ...
# kotlinx-rpc
s
Just watched the talk by Alexander and this looks promising. Is there already a way to handle errors and reconnections? I skimmed though the doc and it doesn't seem to have anything about it.
a
Hi, I can't find the link to the talk? do you have it in the history
s
@Alexander af Trolle here

https://youtu.be/G8pS1FzZlhk?t=2227

a
Thank you
a
Hi! The current way errors are handled with kRPC protocol - user errors are propagated with the reconstructed stacktrace, RPC errors are thrown as is Right now no customisations of this process are available Reconnections are not supported, but are in the plans. Right now any unhandled failures cause service to cancel
👍 1
a
But, It's fine if you create your own RPC connection & Service holder to handle reconnections yourself?
a
Of course, all of the above is applicable to kRPC protocol and thus Ktor integration at the current stage If you create our own RPCClient/RPCServer implementation - you can handle request in whatever way you may want
👍 1