AddSubSession adds a sub-session to the session
(subSession *Session)
| 580 | |
| 581 | // AddSubSession adds a sub-session to the session |
| 582 | func (s *Session) AddSubSession(subSession *Session) { |
| 583 | s.mu.Lock() |
| 584 | defer s.mu.Unlock() |
| 585 | s.Messages = append(s.Messages, NewSubSessionItem(subSession)) |
| 586 | } |
| 587 | |
| 588 | // AddError appends a recorded error to the session so it survives reload and |
| 589 | // JSON export. |
nothing calls this directly
no test coverage detected