So I have a ViewModel that calls out to an API, which is sometimes down or returns errors. What is the best practice for handing that error back to the UI to display an alert?
↧
So I have a ViewModel that calls out to an API, which is sometimes down or returns errors. What is the best practice for handing that error back to the UI to display an alert?