Categorygithub.com/philip-bui/grpc-errors
modulepackage
1.0.1
Repository: https://github.com/philip-bui/grpc-errors.git
Documentation: pkg.go.dev

# README

gRPC Errors

BuildStatus Widget CodeCov Widget GoReport Widget GoDoc Widget

Implementation of gRPC errors that return matching status codes.

Usage

import (
	"github.com/philip-bui/grpc-errors"
)

func (s *Server) UnaryRequestExample(ctx context.Context, req *pb.Req) (*pb.Resp, error) {
	return nil, errors.ErrInternalServer
}

License

gRPC Errors is available under the MIT license. See LICENSE for details.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author