I am trying to see if it is possible to handle exceptions at the viewmodel level in addition to the global level handing (Application.UnhandledException). Currently, if one of the viewmodels throws an uncaught error the application will hard crash. I would like to some how catch this at the module level, publish an event, and have this module removed from the region it is occupying instead of taking down the entire application.
Has anyone ever implemented something like this?
Should this type of architecture be avoided?