TestEventErrorPreservesStreamedText: a stream error mid-content flushes the partial text before appending the error line, same principle as cancel, user keeps the context they were reading.
(t *testing.T)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected