Skip to content

Commit

Permalink
rpcserver: Improve internal error handling.
Browse files Browse the repository at this point in the history
This cleans up the handling of internal errors in the RPC server to be
more consistent and use the errors themselves as opposed to their
stringized form.

There are far more instances of already having an error to pass along
versus the ones that generate new errors at the call site.  Accepting
the errors directly results in less noise and also makes it harder to
misuse.
  • Loading branch information
davecgh committed Sep 2, 2023
1 parent f69247f commit ab92754
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 187 deletions.

0 comments on commit ab92754

Please sign in to comment.