MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Err

Method Err

pkg/component/context.go:38–40  ·  view source on GitHub ↗

Err implements context.Context using the cancel context.

()

Source from the content-addressed store, hash-verified

36
37// Err implements context.Context using the cancel context.
38func (ctx *crossContext) Err() error {
39 return ctx.cancelCtx.Err()
40}
41
42// Value implements context.Context using the value context.
43func (ctx *crossContext) Value(key any) any {

Callers 15

unmarshalNBytesFunction · 0.45
AcceptMethod · 0.45
inProcessDialerFunction · 0.45
TestConcurrentTaskSetFunction · 0.45
makeReadTaskFunction · 0.45
makeWriteTaskFunction · 0.45
makePingTaskFunction · 0.45
RunMethod · 0.45
SubscribeMethod · 0.45
UnsubscribeMethod · 0.45
SubscribeMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestConcurrentTaskSetFunction · 0.36
SubscribeMethod · 0.36
UnsubscribeMethod · 0.36
SubscribeMethod · 0.36
SubscribeWithHistoryMethod · 0.36
TestRequireFunction · 0.36
TestContextDecouplingFunction · 0.36
TestUpdateVersionInfoFunction · 0.36
TestBatchGetStatusFunction · 0.36
TestFrontendFunction · 0.36
TestFrontendFunction · 0.36
TestFrontendFunction · 0.36