Better exception handling when ViewModel resolution fails