Where do I catch Exceptions in MVVM?
I’ve been handling exceptions in my MVVM client by catching them and wrapping them in an ErrorViewModel property of whatever ViewModel caught the exception. Let’s say a ViewModel A catches the EndpointNotFoundException. To present this error, I wrap the Exception in an ErrorViewModel and assign that to A‘s Error property. The View associated with A … Read more