errorStream property

  1. @override
Stream<RealtimeFailure> get errorStream
override

Broadcast stream of every failure the client observes, including ones with no caller to return them to: a background reconnect that failed, a dropped socket, a parse error on a typed stream.

This is the one place to wire crash reporting or an error banner. Failures returned from a call as Left also appear here, so a single listener sees everything.

Implementation

@override
Stream<RealtimeFailure> get errorStream => _errorController.stream;