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
Copy file name to clipboardExpand all lines: lambda/appctx/appctx.go
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,19 @@ type Key int
13
13
typeInitTypeint
14
14
15
15
const (
16
-
// AppCtxInvokeErrorResponseKey is used for storing deferred invoke error response.
16
+
// AppCtxInvokeErrorTraceDataKey is used for storing deferred invoke error cause header value.
17
17
// Only used by xray. TODO refactor xray interface so it doesn't use appctx
18
-
AppCtxInvokeErrorResponseKeyKey=iota
18
+
AppCtxInvokeErrorTraceDataKeyKey=iota
19
19
20
20
// AppCtxRuntimeReleaseKey is used for storing runtime release information (parsed from User_Agent Http header string).
21
21
AppCtxRuntimeReleaseKey
22
22
23
23
// AppCtxInteropServerKey is used to store a reference to the interop server.
24
24
AppCtxInteropServerKey
25
25
26
+
// AppCtxResponseSenderKey is used to store a reference to the response sender
27
+
AppCtxResponseSenderKey
28
+
26
29
// AppCtxFirstFatalErrorKey is used to store first unrecoverable error message encountered to propagate it to slicer with DONE(errortype) or DONEFAIL(errortype)
0 commit comments