Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
helper
· 11y ago · 0 comments
Does HTTP have exceptions? No, it has error codes and error messages. gRPC is a protocol. Implementors can choose to use exceptions or not, but that choice is tangential to the actual protocol.
Comments
[–]
wora
11y ago
That is right. gRPC and Google APIs share one simple error model, as defined by
https://github.com/google/googleapis/blob/master/google/rpc/...
. The goal is to make it easier for developers to handle errors.
PS: I was the co-author of it.