Skip to content

Commit

Permalink
Small fixes after review
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Kolevska <[email protected]>
  • Loading branch information
elena-kolevska committed Jan 23, 2024
1 parent d71bd4b commit e16d22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daprdocs/content/en/reference/errors/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e16d22f

Please sign in to comment.