Stream<DateTime> dateTimeWithError() async* { yield DateTime.now(); exceptionMode('An exception occurred'); }