Skip to content

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