ErrorStack returns a string that contains both the error message and the callstack.
()
| 178 | // ErrorStack returns a string that contains both the |
| 179 | // error message and the callstack. |
| 180 | func (err *Error) ErrorStack() string { |
| 181 | return err.TypeName() + " " + err.Error() + "\n" + string(err.Stack()) |
| 182 | } |
| 183 | |
| 184 | // StackFrames returns an array of frames containing information about the |
| 185 | // stack. |