Adds a note about not all errors being enriched

Signed-off-by: Elena Kolevska <elena@kolevska.com>
This commit is contained in:
Elena Kolevska 2023-12-19 00:42:08 +00:00
parent 6998990686
commit 992cd5be99
1 changed files with 4 additions and 1 deletions

View File

@ -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
@ -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: