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

add inner error to rpc status #225

Merged
merged 1 commit into from
Dec 5, 2023
Merged

add inner error to rpc status #225

merged 1 commit into from
Dec 5, 2023

Conversation

micbar
Copy link
Member

@micbar micbar commented Nov 30, 2023

Description

Sometimes, the RPC status & message combination is not sufficient to transport more details to the clients.

Therefore, an optional innerError is added to the Status object.

After discussing this with @butonic, we think this is the correct place because that bundles all application logic in one place and keeps it separate from the transport.

Copy link
Contributor

@butonic butonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, this allows implementations to give more details in errors

@micbar micbar requested a review from dragotin December 1, 2023 20:33
@dragotin dragotin merged commit 71da888 into main Dec 5, 2023
2 checks passed
@labkode labkode deleted the add-innererror branch December 8, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants