Commit 01b2ca1
Annotate exception message
Summary:
See https://www.internalfb.com/intern/staticdocs/thrift/docs/features/exception/#exception-message
A custom (human-readable) exception message may be specified in a field, by annotating it with `thrift.ExceptionMessage`.
This should allow the message to appear both in SR Scuba (under "Error Reason What") and McRouter Scuba.
Reviewed By: disylh
Differential Revision: D75648540
fbshipit-source-id: 4166bbdb139dc8819213af4ba9f1a0244ef611531 parent 979c477 commit 01b2ca1
File tree
1 file changed
+6
-0
lines changed- third-party/mcrouter/src/mcrouter/lib/network/gen
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments