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

Function Check2

x/error.go:59–61  ·  view source on GitHub ↗

Check2 acts as convenience wrapper around Check, using the 2nd argument as error.

(_ interface{}, err error)

Source from the content-addressed store, hash-verified

57
58// Check2 acts as convenience wrapper around Check, using the 2nd argument as error.
59func Check2(_ interface{}, err error) {
60 Check(err)
61}
62
63// Panic on error.
64func Panic(err error) {

Callers 15

stringHelperMethod · 0.92
stringHelperMethod · 0.92
BatchAndSendMessagesMethod · 0.92
RunReadIndexLoopMethod · 0.92
buildUpsertQueryFunction · 0.92
authorizeAlterFunction · 0.92
authorizeMutationFunction · 0.92
FormatMethod · 0.92
NextMethod · 0.92
newMapIteratorFunction · 0.92
writeMapEntriesToFileMethod · 0.92
historyFunction · 0.92

Calls 1

CheckFunction · 0.70

Tested by 2

getEntryForMutationFunction · 0.74
getEntryForCommitFunction · 0.74