MCPcopy Index your code
hub / github.com/sourcegraph/conc / Repanic

Method Repanic

panics/panics.go:36–40  ·  view source on GitHub ↗

Repanic panics if any calls to Try caught a panic. It will panic with the value of the first panic caught, wrapped in a panics.Recovered with caller information.

()

Source from the content-addressed store, hash-verified

34// value of the first panic caught, wrapped in a panics.Recovered with caller
35// information.
36func (p *Catcher) Repanic() {
37 if val := p.Recovered(); val != nil {
38 panic(val)
39 }
40}
41
42// Recovered returns the value of the first panic caught by Try, or nil if
43// no calls to Try panicked.

Callers 2

callbackerMethod · 0.95
WaitMethod · 0.80

Calls 1

RecoveredMethod · 0.95

Tested by

no test coverage detected