Error implements error interface.
()
| 28 | |
| 29 | // Error implements error interface. |
| 30 | func (p *panicError) Error() string { |
| 31 | return fmt.Sprintf("%v\n\n%s", p.value, p.stack) |
| 32 | } |
| 33 | |
| 34 | func newPanicError(v interface{}) error { |
| 35 | stack := debug.Stack() |
no outgoing calls