In a production environment, users should not be presented the default ASP.NET error pagesInstead they should be offered clean, understandable error pages giving them a sensible explanation of the error, along with suggestions to continue their journey on the website.

Besides usability concerns, it's also an important security practice to not leak details about application details to those who might tinker with your application!