From 992cd5be99071de61d0a9e4c10d4c5c9c29d52e0 Mon Sep 17 00:00:00 2001 From: Elena Kolevska Date: Tue, 19 Dec 2023 00:42:08 +0000 Subject: [PATCH] Adds a note about not all errors being enriched Signed-off-by: Elena Kolevska --- daprdocs/content/en/reference/errors/_index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/errors/_index.md b/daprdocs/content/en/reference/errors/_index.md index 264f086f9c2..58c4e7c8e78 100644 --- a/daprdocs/content/en/reference/errors/_index.md +++ b/daprdocs/content/en/reference/errors/_index.md @@ -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: