forked fromavinassh/grpc-errors
- Notifications
You must be signed in to change notification settings - Fork0
A handy guide to gRPC errors
License
NotificationsYou must be signed in to change notification settings
parauliya/grpc-errors
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains code examples in different languages which demonstrate handling errors in gRPC.
Check thehello.proto
file to see the gRPC method definitions. It has two methodsSayHello
andSayHelloStrict
:
func SayHello(name) { return "Hey, (name)!"}
SayHelloStrict
is similar, but throws an error if the length of name is more than 10 characters.
Each language directories have instructions to generate gRPC methods in respective languages. I assume that you have done the basictutorials.
Check this page for quick guide and examples of all languages -gRPC Errors
The mighty MIT license. Please checkLICENSE
for more details.