You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
An easy way to convert gRPC errors to connect-go errors.
Describe the solution you'd like
The recommended way to do this is, in your own codebase (where I assume you are migrating a gRPC codebase to Connect and still have handlers and helpers that produce the gRPC error type), use an interceptor that examines all errors and translates them to Connect errors whenever it sees a gRPC error. This translation should be very straight-forward to do with the existing APIs. connectrpc/connect-go#763
Describe alternatives you've considered
Manually handle error in each function.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
An easy way to convert gRPC errors to connect-go errors.
Describe the solution you'd like
Describe alternatives you've considered
Manually handle error in each function.
The text was updated successfully, but these errors were encountered: