Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling with Kitex Biz Exception. #5

Open
nicognaW opened this issue Feb 7, 2023 · 0 comments
Open

Error handling with Kitex Biz Exception. #5

nicognaW opened this issue Feb 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nicognaW
Copy link
Member

nicognaW commented Feb 7, 2023

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.

@nicognaW nicognaW added enhancement New feature or request help wanted Extra attention is needed labels Feb 7, 2023
@nicognaW nicognaW self-assigned this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant