mirror of https://github.com/grpc/grpc.io.git
Error handling: fix description (#211)
This commit is contained in:
parent
ed3773a73d
commit
2750f043db
|
|
@ -1,8 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: guides
|
layout: guides
|
||||||
title: Error Handling
|
title: Error Handling
|
||||||
description: |
|
description: How gRPC deals with errors, and gRPC error codes.
|
||||||
This page describes how gRPC deals with errors, including gRPC's built-in error codes. Example code in different languages can be found [here](https://github.com/avinassh/grpc-errors).
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Standard error model
|
### Standard error model
|
||||||
|
|
@ -106,3 +105,10 @@ Unauthenticated: credentials failed to get metadata | `GRPC_STATUS_UNAUTHENTICAT
|
||||||
Invalid host set in authority metadata | `GRPC_STATUS_UNAUTHENTICATED`
|
Invalid host set in authority metadata | `GRPC_STATUS_UNAUTHENTICATED`
|
||||||
Error parsing response protocol buffer | `GRPC_STATUS_INTERNAL`
|
Error parsing response protocol buffer | `GRPC_STATUS_INTERNAL`
|
||||||
Error parsing request protocol buffer | `GRPC_STATUS_INTERNAL`
|
Error parsing request protocol buffer | `GRPC_STATUS_INTERNAL`
|
||||||
|
|
||||||
|
### Sample code
|
||||||
|
|
||||||
|
For sample code illustrating how to handle various gRPC errors, see the
|
||||||
|
[grpc-errors][] repo.
|
||||||
|
|
||||||
|
[grpc-errors]: https://github.com/avinassh/grpc-errors
|
||||||
Loading…
Reference in New Issue