Skip to content

Commit

Permalink
Adds a note about not all errors being enriched
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Kolevska <[email protected]>
  • Loading branch information
elena-kolevska committed Dec 19, 2023
1 parent 6998990 commit 992cd5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion daprdocs/content/en/reference/errors/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ description: "Information on Dapr errors and how to handle them"

# Dapr Error Handling: Understanding the Error Models

Initially, Dapr followed the standard gRPC error model. However, to provide more detailed and informative error messages, Dapr is transitioning to a richer error model as defined by gRPC.
Initially, Dapr followed the standard gRPC error model. However, to provide more detailed and informative error messages, Dapr is gradually transitioning to a richer error model as defined by gRPC.

> Not all Dapr errors have been converted to the richer gRPC error model.
### Standard gRPC Error Model

Expand All @@ -25,6 +27,7 @@ ERROR:

The richer error model enhances the standard model by providing additional context and details about the error. This model includes the standard error code and message, along with a Details section that can contain various types of information, such as ErrorInfo, ResourceInfo, and BadRequest details.


**Example of a Richer gRPC Error Response:**
```
ERROR:
Expand Down

0 comments on commit 992cd5b

Please sign in to comment.