String renders a human-readable formatting of the panic.
()
| 75 | |
| 76 | // String renders a human-readable formatting of the panic. |
| 77 | func (p *Recovered) String() string { |
| 78 | return fmt.Sprintf("panic: %v\nstacktrace:\n%s\n", p.Value, p.Stack) |
| 79 | } |
| 80 | |
| 81 | // AsError casts the panic into an error implementation. The implementation |
| 82 | // is unwrappable with the cause of the panic, if the panic was provided one. |
no outgoing calls