MCPcopy Create free account
hub / github.com/dsnet/try / E

Function E

try.go:210–214  ·  view source on GitHub ↗

E panics if err is non-nil.

(err error)

Source from the content-addressed store, hash-verified

208
209// E panics if err is non-nil.
210func E(err error) {
211 if err != nil {
212 e(err)
213 }
214}
215
216// E1 returns a as is.
217// It panics if err is non-nil.

Callers 2

TestFrameFunction · 0.92
TestFFunction · 0.92

Calls 1

eFunction · 0.85

Tested by 2

TestFrameFunction · 0.74
TestFFunction · 0.74