(b *bytes.Buffer)
| 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 != "") { |
| 378 | b.WriteString(" at ") |
| 379 | e.stack[0].Write(b) |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | func (e *Exception) String() string { |
| 384 | if e == nil { |
no test coverage detected