When an error event is send on the stream, the onError handler is called.
@override void onError(error) => warning('Error in $runtimeType - $error');