Skip to content

Commit

Permalink
Use gRPC errors throughout
Browse files Browse the repository at this point in the history
As of grpc/grpc-go#1156, the gRPC errors package is a separate
self-contained pair of packages:
 - google.golang.org/grpc/status for manipulating Status / errors
 - google.golang.org/grpc/codes for error code values.

This means that pulling in gRPC errors no longer pulls in the whole
of gRPC, which removes one of the main reasons why we had our own
Trillian errors package.

So shift to use gRPC errors throughout the codebase.
  • Loading branch information
daviddrysdale committed Feb 16, 2018
1 parent 50a033d commit bd6927e
Show file tree
Hide file tree
Showing 18 changed files with 110 additions and 494 deletions.
16 changes: 0 additions & 16 deletions errors/code_string.go

This file was deleted.

28 changes: 0 additions & 28 deletions errors/doc.go

This file was deleted.

203 changes: 0 additions & 203 deletions errors/errors.go

This file was deleted.

114 changes: 0 additions & 114 deletions errors/errors_test.go

This file was deleted.

17 changes: 0 additions & 17 deletions errors/gen.go

This file was deleted.

Loading

0 comments on commit bd6927e

Please sign in to comment.