You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, when an RPC function returns an error, the details of the returned error are lost, and only a string value from err.Error() is kept with the client.
For my perspective, the biz error passing should be improved using Kitex Biz Exception in the future, but for now we should try to handle as many cases as possible in the RPC server function.
I will integrate it in the next sprint, please feel free to start if you are intrested.
The text was updated successfully, but these errors were encountered:
By default, when an RPC function returns an error, the details of the returned error are lost, and only a string value from
err.Error()
is kept with the client.For my perspective, the biz error passing should be improved using Kitex Biz Exception in the future, but for now we should try to handle as many cases as possible in the RPC server function.
I will integrate it in the next sprint, please feel free to start if you are intrested.
The text was updated successfully, but these errors were encountered: