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

Function Panic

x/error.go:64–68  ·  view source on GitHub ↗

Panic on error.

(err error)

Source from the content-addressed store, hash-verified

62
63// Panic on error.
64func Panic(err error) {
65 if err != nil {
66 panic(err)
67 }
68}
69
70func Log(err error, msg string) {
71 if err != nil {

Callers 15

convertJSONFunction · 0.92
getColumnValuesFunction · 0.92
queryCounterFunction · 0.92
TestMainFunction · 0.92
TestMainFunction · 0.92
TestGeoValidWkbDataFunction · 0.92
TestMainFunction · 0.92
SetupSubTestMethod · 0.92
TestPluginTestSuiteFunction · 0.92
SetupTestMethod · 0.92
TestCountIndexFunction · 0.92
SetupTestMethod · 0.92

Calls

no outgoing calls

Tested by 15

TestMainFunction · 0.74
TestMainFunction · 0.74
TestGeoValidWkbDataFunction · 0.74
TestMainFunction · 0.74
SetupSubTestMethod · 0.74
TestPluginTestSuiteFunction · 0.74
SetupTestMethod · 0.74
TestCountIndexFunction · 0.74
SetupTestMethod · 0.74
TestSystestSuiteFunction · 0.74
populateClusterFunction · 0.74
TestCountReverseIndexFunction · 0.74