Commit d7bb01b
authored
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 server1 parent c20a039 commit d7bb01b
File tree
4 files changed
+26
-0
lines changed- openapi
- temporal/api
- enums/v1
- failure/v1
4 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8570 | 8570 | | |
8571 | 8571 | | |
8572 | 8572 | | |
| 8573 | + | |
| 8574 | + | |
| 8575 | + | |
| 8576 | + | |
| 8577 | + | |
| 8578 | + | |
| 8579 | + | |
| 8580 | + | |
| 8581 | + | |
8573 | 8582 | | |
8574 | 8583 | | |
8575 | 8584 | | |
| |||
8585 | 8594 | | |
8586 | 8595 | | |
8587 | 8596 | | |
| 8597 | + | |
| 8598 | + | |
| 8599 | + | |
8588 | 8600 | | |
8589 | 8601 | | |
8590 | 8602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6189 | 6189 | | |
6190 | 6190 | | |
6191 | 6191 | | |
| 6192 | + | |
| 6193 | + | |
| 6194 | + | |
| 6195 | + | |
| 6196 | + | |
| 6197 | + | |
6192 | 6198 | | |
6193 | 6199 | | |
6194 | 6200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
115 | 121 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
0 commit comments