| 33 | |
| 34 | type StreamIdleTimeoutError struct { |
| 35 | Timeout time.Duration |
| 36 | } |
| 37 | |
| 38 | func (e StreamIdleTimeoutError) Error() string { |
| 39 | seconds := int(e.Timeout.Round(time.Second) / time.Second) |
| 40 | if seconds <= 0 { |
| 41 | return "API stream idle timeout waiting for SSE data" |
nothing calls this directly
no outgoing calls
no test coverage detected