MCPcopy
hub / github.com/NVIDIA/aistore / AssertNoErr

Function AssertNoErr

cmn/debug/debug_on.go:133–137  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

131}
132
133func AssertNoErr(err error) {
134 if err != nil {
135 _panic(err)
136 }
137}
138
139func Assertf(cond bool, f string, a ...interface{}) {
140 if !cond {

Callers 15

SetHrwOwnerMethod · 0.92
attrsFromLinkFunction · 0.92
incFinishedMethod · 0.92
incSkippedMethod · 0.92
incScheduledMethod · 0.92
incErrorCntMethod · 0.92
setAllDispatchedMethod · 0.92
markFinishedMethod · 0.92
setAbortedMethod · 0.92
tryStartFunction · 0.92
setupXactionMethod · 0.92
readHdrMethod · 0.92

Calls 1

_panicFunction · 0.85

Tested by 2

setAvailableMountPathsFunction · 0.74
createDirsFunction · 0.74