Skip to content

Commit

Permalink
make GRPCStatus val receiver
Browse files Browse the repository at this point in the history
Signed-off-by: Cassandra Coyle <[email protected]>
  • Loading branch information
cicoyle committed Dec 13, 2023
1 parent 7c071cc commit 976c0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (e *Error) AddDetails(details ...proto.Message) *Error {
/*** GRPC Methods ***/

// GRPCStatus returns the gRPC status.Status object.
func (e *Error) GRPCStatus() *status.Status {
func (e Error) GRPCStatus() *status.Status {
stat := status.New(e.grpcCode, e.message)

// convert details from proto.Msg -> protoiface.MsgV1
Expand Down

0 comments on commit 976c0ec

Please sign in to comment.