StackTrace returns one string for each location recorded in the stack of errors. The first value is the originating error, with a line for each other annotation or tracing of the error.
()
| 212 | // errors. The first value is the originating error, with a line for each |
| 213 | // other annotation or tracing of the error. |
| 214 | func (e *Err) StackTrace() []string { |
| 215 | return errorStack(e) |
| 216 | } |
| 217 | |
| 218 | // Ideally we'd have a way to check identity, but deep equals will do. |
| 219 | func sameError(e1, e2 error) bool { |
nothing calls this directly
no test coverage detected