addError method
Delivers an error to ONE stream's subscriber.
Stream-scoped by construction, which is the point: a transport that reports a parse failure on the shared broadcast hands it to every concurrent call, so an error on stream 3 surfaces on stream 5.
Implementation
void addError(int streamId, Object error, [StackTrace? stackTrace]) {
final ctl = _controllers[streamId];
if (ctl != null && !ctl.isClosed) ctl.addError(error, stackTrace);
}