Callers returns the stack trace associated with the error. This method is traditionally used to retrieve the stack trace by packages like error reporters.
()
| 26 | // This method is traditionally used to retrieve the stack trace |
| 27 | // by packages like error reporters. |
| 28 | Callers() []uintptr |
| 29 | // FormatStack returns the stack trace as a formatted string. |
| 30 | FormatStack() string |
| 31 |