Skip to content

Commit

Permalink
Removed ToRPCStatus in favor of standardized GRPCStatus() interface
Browse files Browse the repository at this point in the history
This change avoids the ugly 'convertErrorToRPCStatus' helper method
since the gRPC server automatically recognize if the error implements
the `GRPCStatus() *Status` interface method.
  • Loading branch information
cmaglie committed Mar 13, 2024
1 parent 52f80e6 commit ee52f06
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 185 deletions.
Loading

0 comments on commit ee52f06

Please sign in to comment.