You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ApplicationErrorCategory to ApplicationFailureInfo (#570)
<!-- Describe what has changed in this PR -->
**What changed?**
Added an ENUM `ApplicationErrorCategory`, used in
`ApplicationFailureInfo` proto.
<!-- Tell your future self why have you made these changes -->
**Why?**
Give users a way to categorize application failures. Error categories
map to different observability behaviours SDK-side (i.e.
logging/metrics), part of the work for benign exceptions. Categories
could also be used with rules in the future.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
No
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
Don't believe this breaks server or requires any changes to server
"description": " - APPLICATION_ERROR_CATEGORY_BENIGN: Expected application error with little/no severity."
8581
+
},
8573
8582
"v1ApplicationFailureInfo": {
8574
8583
"type": "object",
8575
8584
"properties": {
@@ -8585,6 +8594,9 @@
8585
8594
"nextRetryDelay": {
8586
8595
"type": "string",
8587
8596
"description": "next_retry_delay can be used by the client to override the activity\nretry interval calculated by the retry policy. Retry attempts will\nstill be subject to the maximum retries limit and total time limit\ndefined by the policy."
0 commit comments