Called when errors happen with the Stream
final void Function(dynamic e, StackTrace stackTrace)? onError;