MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / IsNotFound

Function IsNotFound

internal/utils/kvstore/errors.go:16–18  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

14var ErrTableClosed = errors.New("table closed")
15
16func IsNotFound(err error) bool {
17 return err != nil && errors.Is(err, pebble.ErrNotFound)
18}
19
20func IsSkipError(err error) bool {
21 return err != nil && errors.Is(err, ErrSkip)

Callers 13

TestTable_SetFunction · 0.92
TestTable_GetFunction · 0.92
TestTable_DeleteFunction · 0.92
BenchmarkTable_GetFunction · 0.92
InsertStatMethod · 0.92
uploadServerStatsMethod · 0.92
ReadMaxVersionMethod · 0.92
ExistItemMethod · 0.92
iterateFieldsMethod · 0.70
ExistMethod · 0.70
deleteKeysMethod · 0.70
setMethod · 0.70

Calls

no outgoing calls

Tested by 4

TestTable_SetFunction · 0.74
TestTable_GetFunction · 0.74
TestTable_DeleteFunction · 0.74
BenchmarkTable_GetFunction · 0.74