Skip to content

avinassh/grpc-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3494f84 · Nov 22, 2021

History

73 Commits
Apr 2, 2017
Apr 2, 2017
Nov 22, 2021
May 12, 2020
Apr 2, 2017
Apr 2, 2017
Apr 2, 2017
Jan 17, 2019
Apr 18, 2018
Apr 2, 2017
Mar 29, 2017
Mar 25, 2017
Dec 18, 2017
Nov 22, 2021

Repository files navigation

gRPC Errors - A handy guide to gRPC errors.

This repository contains code examples in different languages which demonstrate handling errors in gRPC.

Check the hello.proto file to see the gRPC method definitions. It has two methods SayHello and SayHelloStrict:

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 basic tutorials.

Guide

Check this page for quick guide and examples of all languages - gRPC Errors

System Requirements

License

The mighty MIT license. Please check LICENSE for more details.