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

Function IsAborted

pkg/errors/codes.go:110–110  ·  view source on GitHub ↗

IsAborted returns whether the given error is of type Aborted.

(err error)

Source from the content-addressed store, hash-verified

108
109// IsAborted returns whether the given error is of type Aborted.
110func IsAborted(err error) bool { return HasCode(err, uint32(codes.Aborted)) }
111
112// IsUnimplemented returns whether the given error is of type Unimplemented.
113func IsUnimplemented(err error) bool { return HasCode(err, uint32(codes.Unimplemented)) }

Callers 7

TestDecodeUplinkFunction · 0.92
FrontendFunction · 0.92
TestGatewayTokensFunction · 0.92
retryableUplinkErrorFunction · 0.92
TestCodesFunction · 0.92

Calls 1

HasCodeFunction · 0.85

Tested by 4

TestDecodeUplinkFunction · 0.74
TestGatewayTokensFunction · 0.74
TestCodesFunction · 0.74