Skip to content

Convert AioRpcErrors to the appropriate base-client exception before re-raising #77

@shsms

Description

@shsms

What's needed?

Currently, the client doesn't appear to be handling the AioRpcError exceptions raised by the grpc client, which leaks the underlying exceptions to the client's users.

Proposed solution

We need to pass the caught AioRpcErrors to ApiClientError.from_grpc_error method and raise those.

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:❓We need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions