Small fixes after review

Signed-off-by: Elena Kolevska <elena@kolevska.com>
This commit is contained in:
Elena Kolevska 2024-01-23 16:13:36 +00:00
parent d71bd4b81c
commit e16d22f79a
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ weight: 700
description: "Information on Dapr errors and how to handle them"
---
## Dapr Error Handling: Understanding the Error Models
## Error handling: Understanding errors model and reporting
Initially, errors followed the [Standard gRPC error model](https://grpc.io/docs/guides/error/#standard-error-model). However, to provide more detailed and informative error messages, an enhanced error model has been defined which aligns with the gRPC [Richer error model](https://grpc.io/docs/guides/error/#richer-error-model).
@ -59,7 +59,7 @@ ERROR:
For HTTP clients, Dapr translates the gRPC error model to a similar structure in JSON format. The response includes an `errorCode`, a `message`, and a `details` array that mirrors the structure found in the richer gRPC model.
**Example of an HTTP Error Response:**
**Example of an HTTP error response:**
```json
{
"errorCode": "ERR_MALFORMED_REQUEST",