RxSwift: Better Error Handling With CompactMap

Use one of RxSwift 5’s newest features to streamline your code.

class NoErrorViewModel {    var data: Observable<[String]>!
var dataService = DataService()