(b *bytes.Buffer)
| 366 | } |
| 367 | |
| 368 | func (e *Exception) writeFullStack(b *bytes.Buffer) { |
| 369 | for _, frame := range e.stack { |
| 370 | b.WriteString("\tat ") |
| 371 | frame.Write(b) |
| 372 | b.WriteByte('\n') |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | func (e *Exception) writeShortStack(b *bytes.Buffer) { |
| 377 | if len(e.stack) > 0 && (e.stack[0].prg != nil || e.stack[0].funcName != "") { |
no test coverage detected