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

feat: Support to serialize ExceptionGroup #30

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fregataa
Copy link
Member

@fregataa fregataa commented Jul 19, 2024

callosum.rpc.message.ErrorMetadata now has sub_errors field to contain sub exceptions of ExceptionGroup. callosum.rpc.channel.Peer raises RPCUserError or RPCInternalError derived from the ErrorMetadata, which has exceptions field that has sub exceptions.
Peer side can access to sub exceptions by RPCUserError.exceptions or RPCInternalError.exceptions.

@fregataa fregataa self-assigned this Jul 19, 2024
@fregataa fregataa requested review from achimnol and removed request for achimnol July 19, 2024 09:15
@fregataa fregataa marked this pull request as draft July 19, 2024 14:30
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.

1 participant