MCPcopy
hub / github.com/dgraph-io/dgraph / Checkf

Function Checkf

x/error.go:37–42  ·  view source on GitHub ↗

Checkf is Check with extra info.

(err error, format string, args ...interface{})

Source from the content-addressed store, hash-verified

35
36// Checkf is Check with extra info.
37func Checkf(err error, format string, args ...interface{}) {
38 if err != nil {
39 err = errors.Wrapf(err, format, args...)
40 log.Fatalf("%+v", err)
41 }
42}
43
44// CheckfNoTrace is Checkf without a stack trace.
45func CheckfNoTrace(err error) {

Callers 15

initAndStartNodeMethod · 0.92
runFunction · 0.92
newLoaderFunction · 0.92
mapStageMethod · 0.92
uidToValFunction · 0.92
overwriteSnapshotFunction · 0.92
processSchemaFileMethod · 0.92
setupFunction · 0.92
runFunction · 0.92
InitStorageMethod · 0.92
getOrCreateFunction · 0.92
StartRaftNodesFunction · 0.92

Calls 1

FatalfMethod · 0.80

Tested by 1

getOrCreateFunction · 0.74