-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(admin): defines error codes of several RPCs in the admin server
This patch defines the gRPC error codes of various RPCs in the admin server. Previously, we depended on the `verrors` package to identify the cause of errors. However, the `verrors` package is vague and an anti-pattern. To handle errors explicitly, we are trying to adopt gRPC error codes. Although this PR doesn't convert everything, it can be a starting point for our robust error handling. Updates #312
- Loading branch information
Showing
3 changed files
with
242 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.