A Better error solution for Application.