LastError returns the most recent error recorded by Fail, or nil if a clean Set has happened since.
()
| 152 | // LastError returns the most recent error recorded by Fail, or nil if a |
| 153 | // clean Set has happened since. |
| 154 | func (t *Tracker) LastError() error { |
| 155 | t.mu.RLock() |
| 156 | defer t.mu.RUnlock() |
| 157 | return t.lastErr |
| 158 | } |
no outgoing calls