MCPcopy
hub / github.com/kopia/kopia / Error

Function Error

internal/contentlog/logparam/logparam.go:49–49  ·  view source on GitHub ↗

Error creates an error parameter. nolint:revive

(key string, value error)

Source from the content-addressed store, hash-verified

47//
48//nolint:revive
49func Error(key string, value error) errorParam { return errorParam{Key: key, Value: value} }
50
51// UInt64 creates a uint64 parameter.
52//

Callers 15

TestLoggerErrorHandlingFunction · 0.92
refreshLockedMethod · 0.92
WriteIndexMethod · 0.92
SessionMethod · 0.92
GetBlobMethod · 0.92
GetCapacityMethod · 0.92
GetMetadataMethod · 0.92
PutBlobMethod · 0.92
DeleteBlobMethod · 0.92
ListBlobsMethod · 0.92
CloseMethod · 0.92
FlushCachesMethod · 0.92

Calls

no outgoing calls

Tested by 3

TestLoggerErrorHandlingFunction · 0.74
TestErrorFunction · 0.68