Propagating errors from an ObservableObject in a SwiftUI app

I have a simple, sample test project located at:


https://github.com/ericg-xcode-questions/Compass.git


In the project there is an ObservableObject which acquires GPS location data. In the SwiftUI part, it observes changes to this object and displays the current location.


One can easily disable the ability to acquire locations and the:


func locationManager(_ manager: CLLocationManager, didFailWithError error: Error)


delegate function will be called.


What I am not sure about is the better patterns to propagate this error to the SwiftUI layer and inform the user that the locations are not updating.


I suppose one could go through the notification center.


Are there better or recommended ways of handling such situations?